info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to limit file revisions


From: Jim Hyslop
Subject: Re: How to limit file revisions
Date: Tue, 25 Oct 2005 18:44:00 -0400
User-agent: Mozilla Thunderbird 1.0.6 (Windows/20050716)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

[note: restoring info-cvs list to recipients - please remember to "Reply
All"]

Maicon Stihler wrote:
> Em Ter, 2005-10-25 às 15:07 -0400, Jim Hyslop escreveu:
>>Maicon Stihler wrote:
>>
>>>Hi, 
>>>
>>>I'm having some troubles with files that get too large after a certain
>>>time. What I would like to do is to erase past revisions and to keep
>>>only a small number of revisions. I know that there is the admin -o
>>>command, but Im not too sure how do I use it. I tried using 'cvs log
>>>somefile' to see how many revisions the given file has, but I get this
>>>error: CVS/Entries not found (or something alike, I dont remember the
>>>right spelling) I found that logging is not enabled on cvs's config
>>>file.
>>
>>Exact error messages usually help.
>>
> 
> errr... sorry
> 
> cvs log: cannot open CVS/Entries for reading: No such file or directory
> cvs log: nothing known about somefile
> 
> 
>>The fact that it could not find CVS/Entries suggests that you have not
>>checked out a working copy of the file. You can use 'cvs rlog' instead.
> 
> 
> I'm a cvs new and Im unaware of much of its terminology. Im working
> directly on the server. I'll go read the man about rlog.

Never work directly on the server. Before you read about rlog, study at
least the first three sections of the manual, and get a quick
familiarization with the most common commands (Appendix A). The manual
can be found here: http://ximbiot.com/cvs/manual/cvs-1.11.21/cvs.html

>>"too large" for what? Are you running out of disk space? Suffering
>>performance problems?
> 
> The problems seems to be related with some binary files. The CVS server
> is being used by a Windows programers so there is lots of binary files.

I missed a step here. What is the connection between 'Windows
programmers' and 'storing lots of binary files in CVS'? The two concepts
are, in my experience, unrelated.

> After a certain amount of time, these files get very huge, up to 1 GB.

What types of binary files are you storing - are they files that get
generated by your build process, or something else? Generally, you only
want to store files that are human-generated, such as source files,
images, and so on.

> The CVS server manager told me that these files are creating problems,
> although he doesnt told me what kind of problems. He only asked me
> to find a way to keep the amount of file revisions small.
If you must store binary files, then CVS may not be your best bet. It
works best with text-based files.

- --
Jim Hyslop
Dreampossible: Better software. Simply.     http://www.dreampossible.ca
                 Consulting * Mentoring * Training in
    C/C++ * OOD * SW Development & Practices * Version Management
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDXrUwLdDyDwyJw+MRAvQ9AKD508rb0Ii8Bk+D8dpA5tR/S9Hl2gCcDDEi
fljjdaXQeEaRmNrfRuQZPRk=
=Nn90
-----END PGP SIGNATURE-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]