Re: cvs tag: some slightly counterintuitive behaviour

2004-03-30 Thread Andy Jones
As promised, a diff to the manual. This is a context (-c) diff on the 1.11.14 version of the file. Please let me know if that's not okay. *** cvs.texinfo Wed Feb 4 19:05:46 2004 --- /home/apj/cvs.texinfo Tue Mar 30 11:02:33 2004 *** *** 3570,3576 One potentially

Re: cvs tag: some slightly counterintuitive behaviour

2004-03-30 Thread Sergei Organov
Andy Jones [EMAIL PROTECTED] writes: As promised, a diff to the manual. This is a context (-c) diff on the 1.11.14 version of the file. Please let me know if that's not okay. [...] + This will work for locally modified files, but not + for locally deleted ones. Did you check it

Re: cvs tag: some slightly counterintuitive behaviour

2004-03-30 Thread Sergei Organov
Andy Jones [EMAIL PROTECTED] writes: Did you check it doesn't work for locally removed files (for which cvs remove has been executed)? If it does, the description needs further cleanup, I think. What about locally removed directories? In both cases cvs tag warns or errors, then bombs out,

Re: cvs tag: some slightly counterintuitive behaviour

2004-03-30 Thread Andy Jones
Did you check it doesn't work for locally removed files (for which cvs remove has been executed)? If it does, the description needs further cleanup, I think. What about locally removed directories? In both cases cvs tag warns or errors, then bombs out, regardless of whether the -c tag has been

RE: cvs tag: some slightly counterintuitive behaviour

2004-03-29 Thread Andy Jones
On a different note: IIRC you mentioned earlier that these deleted files are not part of the release, but you don't want to remove them from the repository. What harm would there be if those files actually had the tag applied? Not much, admittedly. The point is that they don't compile, and I

Re: cvs tag: some slightly counterintuitive behaviour II

2004-03-29 Thread Derek Robert Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy Jones wrote: While doing some further testing I have discovered that cvs tag -c ignores removed files. That is, you can remove a file from the sandbox with rm and then do a cvs tag -c, and the removed file will be tagged with no warning or

Re: cvs tag: some slightly counterintuitive behaviour

2004-03-26 Thread Andy Jones
Jason Carucci No, I believe cvs will tag the files in the repository, the files in your working directory are irrelevant for this operation. I'm not saying that CVS behaved wrongly, just in a way that was counterintuitive. To say that cvs tag requires a working directory, but not the files in

Re: cvs tag: some slightly counterintuitive behaviour

2004-03-26 Thread Andy Jones
Patches thoughtfuly considered. :) Well, hell. I'd be honoured. It's not as if it would take more than a couple of lines. Do you literally mean a patch-compatible diff to some version of the current Cederqvist? If so, which version? ___

RE: cvs tag: some slightly counterintuitive behaviour

2004-03-26 Thread Gagneet Singh
] Subject: Re: cvs tag: some slightly counterintuitive behaviour Jason Carucci No, I believe cvs will tag the files in the repository, the files in your working directory are irrelevant for this operation. I'm not saying that CVS behaved wrongly, just in a way that was counterintuitive. To say

RE: cvs tag: some slightly counterintuitive behaviour

2004-03-26 Thread Andy Jones
Why can't you just choose the files you want to tag and run the TAG command only on those. This way only those files get tagged and not the complete module, which is not want you as it is want to happen. Because I have 12,766 files, and I want to tag all but about 30 of them. Working out which

Re: cvs tag: some slightly counterintuitive behaviour

2004-03-26 Thread Todd Denniston
Andy Jones wrote: Why can't you just choose the files you want to tag and run the TAG command only on those. This way only those files get tagged and not the complete module, which is not want you as it is want to happen. Because I have 12,766 files, and I want to tag all but about 30 of

Re: cvs tag: some slightly counterintuitive behaviour

2004-03-26 Thread Sergei Organov
Andy Jones [EMAIL PROTECTED] writes: Jason Carucci [...] Derek Price The work-around, and a pretty straight-forward one I should think, is to commit your changes before tagging. No, no. I don't want to remove the files. I just want to not tag them. Now it looks like I will have to tag the

Re: cvs tag: some slightly counterintuitive behaviour

2004-03-26 Thread Sergei Organov
Andy Jones [EMAIL PROTECTED] writes: Why can't you just choose the files you want to tag and run the TAG command only on those. This way only those files get tagged and not the complete module, which is not want you as it is want to happen. Because I have 12,766 files, and I want to tag all

Re: cvs tag: some slightly counterintuitive behaviour

2004-03-26 Thread Larry Jones
Andy Jones writes [in very long lines]: No, no. I don't want to remove the files. I just want to not tag them. Now it looks like I will have to tag the whole sandbox and then untag a list of about 30 files - not fun. cvs tag foo * -Larry Jones If I get a bad grade, it'll be YOUR

RE: cvs tag: some slightly counterintuitive behaviour

2004-03-26 Thread Jim.Hyslop
Andy Jones wrote: Because I have 12,766 files, and I want to tag all but about 30 of them. Working out which 30 is a long and laborious process of checking by hand. cvs -nq update should show you a list of files that need to be updated. If you are following good VM practises, the only

RE: cvs tag: some slightly counterintuitive behaviour

2004-03-26 Thread Gagneet Singh
-Original Message- From: Andy Jones [mailto:[EMAIL PROTECTED] Sent: Friday, 26 March, 2004 16:01 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: cvs tag: some slightly counterintuitive behaviour Why can't you just choose the files you want to tag and run the TAG command only on those

Re: cvs tag: some slightly counterintuitive behaviour

2004-03-25 Thread Derek Robert Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andy Jones wrote: 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. `cvs tag' is defined

RE: cvs tag: some slightly counterintuitive behaviour

2004-03-25 Thread Carucci, Jason
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Andy Jones Sent: Thursday, March 25, 2004 11:52 AM To: [EMAIL PROTECTED]

Re: cvs tag: some slightly counterintuitive behaviour

2004-03-25 Thread Todd Denniston
Andy Jones wrote: 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

RE: cvs tag: some slightly counterintuitive behaviour

2004-03-25 Thread Jim.Hyslop
Andy Jones wrote: 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. At this point, I

Re: cvs tag: some slightly counterintuitive behaviour

2004-03-25 Thread Derek Robert Price
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim.Hyslop wrote: Any thoughts? I think that at the very least this behaviour should be spelled out more clearly in the manual. That I would go along with. Patches thoughtfuly considered. :) Derek - -- *8^) Email: [EMAIL