info-cvs
[Top][All Lists]
Advanced

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

RE: Some advice: using CVS to do config management


From: Eugene Kramer
Subject: RE: Some advice: using CVS to do config management
Date: Fri, 1 Dec 2000 08:36:16 -0800

Nope, does not do the trick:

boxster 7: ls
CVS/  foo.src*
boxster 8: touch adfad .adf werwe
boxster 9: cvs add
Usage: cvs add [-k rcs-kflag] [-m message] files...
        -k      Use "rcs-kflag" to add the file with the specified kflag.
        -m      Use "message" for the creation log.
(Specify the --help global option for a list of other help options)

However, there is no harm in trying to add a file, which is already in the
repo. CVS will not let you do it anyway.

I have mulitple cron jobs taking database schema snapshots and checking them
into CVS. The script pretty much does 'cvs add *'. I just ignore errors
related to files already in CVS.

Eugene.

-----Original Message-----
From: Stephen Rasku [mailto:address@hidden
Sent: Friday, December 01, 2000 8:25 AM
To: address@hidden; address@hidden
Cc: address@hidden
Subject: Re: Some advice: using CVS to do config management



Graham Leggett wrote:
>
>What would happen if I "cvs add"ed a file that was already in the
>repository? What I could do is this:
>
>foreach file( in directory )
>{
>       cvs add <file>
>}

There is no need to do this.  Just do "cvs add" with no other 
arguments and it will add all new files.

-- 
Stephen Rasku                   E-mail: address@hidden
Senior Software Engineer        Web:    http://www.tgivan.com/
TGI Technologies                        http://www.pop-star.net/


_______________________________________________
Info-cvs mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/info-cvs



reply via email to

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