info-cvs
[Top][All Lists]
Advanced

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

Re: cvs commit as root


From: Harry Putnam
Subject: Re: cvs commit as root
Date: Sat, 08 Dec 2001 07:19:10 -0800
User-agent: Gnus/5.090004 (Oort Gnus v0.04) Emacs/21.1 (i586-pc-linux-gnu)

address@hidden (Greg A. Woods) writes:

> In the simplest case you could just blindly copy all the files from your
> working directory (or exported release) and be done with it, which
> really isn't much different than what you've been trying to do, except
> that now you have to edit them in a working directory first.

Well, its not really true that it `isn't much different'.  The copying
step is really a major pain in the butt.  And represents aboutt 50% of
the work needed to keep something in cvs.  Removing that step cuts the
work roughly in half and probably considerably more.  Considering it
creates extra steps for many other proecess as well.

For example: Diffing the file curently in use against the latest cvs
controlled version requires a more complex command line.

Or `cvs update' but then one needs to copy over the cvs files to
overwrite the ones in use.  In every way that extra step doubles the
work. 

With my symlinking setup, at least 50% and really more, of the
headache of keeping things in cvs is eliminated.  The more so since
one group of files (a small selection to be sure) is kept in a `misc'
module and is the source for 3 home machines.

Most config files do not lend themselves to this kind of thing so most
of the files I keep there are scripts that work in common on all OS
involved. (FreeBSD solaris linux)

Other than `misc', each machine is represented in skeletal form inside
CVSROOT by a module bearing the machine name (short version) and the
subdirectories that are usefull under it.

So a `cvs co' of the main module contains all machine mirrors.  (Each is
only a partial mirror, very small by comparison to a full OS)

All the machines have simlinks to a checked out module on board, that
remains in place.


reply via email to

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