RE: [cvsnt] commit with -r option [ Vírusmentes]
Bo Berglund
Bo.Berglund at system3r.se
Tue May 10 15:49:12 BST 2005
If you work in a sandbox that has been updated to the branch then you
don't need any fancy options. Just do a cvs add followed by a cve commit
and it gets automatically added to the branch....
/Bo
-----Original Message-----
From: cvsnt-bounces at cvsnt.org [mailto:cvsnt-bounces at cvsnt.org]On Behalf
Of Daniel Lapolla
Sent: den 10 maj 2005 16:39
To: cvsnt at cvsnt.org
Subject: Re: [cvsnt] commit with -r option [ Vírusmentes]
Tony,
Can you provide a receipt for those who need commit -r to add new files
directly into a branch?
Example:
cvs commit -m Test -r my_branch foo.txt
***** CVS exited normally with code 1 *****
commit: invalid option -- r
Usage: cvs.exe commit [DnRlf] [-B bug | -b bug ] [-m msg | -F logfile]
[-r rev] files...
-b bugid Only commit files related to bug.
-B bugid Mark files with bug.
-c Check for valid edits before committing.
-D Assume all files are modified.
-F logfile Read the log message from file.
-e Keep edited files.
-f Force the file to be committed; disables recursion.
-n Do not run the module program (if any).
-l Local directory only (not recursive).
-m message Log message.
-R Process directories recursively.
(Specify the --help global option for a list of other help options)
Thanks in advance
Daniel
Tony Hoyle wrote:
> Bo Berglund wrote:
>
>> Unless Tony has removed the -r option in 2.5 it is still there,
>> however you cannot commit to 2.0 anyway because that is not a valid
>> revision number. All numbers ending with .0 are reserved for other
>> purposes...
>> Try with 2.1 instead.
>
>
> It's gone compeletely.
>
> Too many people trying to use it instead of tags.. I changed it a
> little while back. In a future revision (2.5.03/04) the whole number
> scheme is likely change completely as I start to link in the database
> parts - this will mean that anything that is set will get overwritten
> anyway.
>
> Tony
_______________________________________________
cvsnt mailing list
cvsnt at cvsnt.org
http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt
More information about the cvsnt
mailing list