info-cvs
[Top][All Lists]
Advanced

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

RE: cvs tag: some slightly counterintuitive behaviour


From: Carucci, Jason
Subject: RE: cvs tag: some slightly counterintuitive behaviour
Date: Thu, 25 Mar 2004 12:27:23 -0500

No, I believe cvs will tag the files in the repository, the files in your
working directory are irrelevant for this operation.

-----Original Message-----
From: address@hidden
[mailto:address@hidden On Behalf Of
Andy Jones
Sent: Thursday, March 25, 2004 11:52 AM
To: address@hidden
Subject: cvs tag: some slightly counterintuitive behaviour


I've found some behaviour of cvs tag that breaks the principal of least
astonishment - at least, for me.

In short: cvs tag doesn't tag the files in the working directory, it tags
the files it thinks are there.

I'm preparing a release.  Some of the code is questionable - I don't know if
it is dead or not but it certainly does not want to be part of the release.
So I've been deleting these files from the working directory.

Now I come to make a release tag.  My expectation is that since cvs tag
requires a working directory then it will operate on that working directory,
tagging the files in it but *not* the files I have removed.

It doesn't, though.  It tags all the files it thinks should be in the
working dir, whether they are there or not.

Any thoughts?  I think that at the very least this behaviour should be
spelled out more clearly in the manual.

[cvs 1.11.12 on Red Hat 7.1] 



_______________________________________________
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]