Occasionally one might want a sticky tag on HEAD -- probably not
for an entire sandbox, but for a file or two. This came up a
couple of months ago:
http://mail.gnu.org/archive/html/info-cvs/2003-04/msg00023.html
(The only reason I didn't suggest typing exactly "-r HEAD" is
that I didn't think of it at the time...)
Hmmm. Let me see if I understand this.
Typing the command
cvs update -r HEAD file.c
will cause the following behavior (until the sticky tag is changed):
1. Updating file.c from the repository will always work.
2. Committing a changed file.c to the repository will never work.So, how would I use it? For example, suppose I need to add some temporary code to a file for debugging or to make some kind of measurement. If I "update -r HEAD" then I can prevent the temporary code from accidently polluting the repository. When I'm done, remove the file and "update -A" (assuming there were no changes of value in the file).
Sweet!
Fred
_______________________________________________________________ Frederic W. Brehm, Sarnoff Corporation, http://www.sarnoff.com/
_______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/info-cvs
