[Top][All Lists]

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

cvs rlog -rTAG1::TAG2 doesn't handle newly added files

From: Matthew Herrmann
Subject: cvs rlog -rTAG1::TAG2 doesn't handle newly added files
Date: Wed, 26 Nov 2003 15:13:44 +1100

Hi All,

I'm having problems with cvs rlog and -rTAG1::TAG2 not outputting changes
for newly created tags. I can't use cvs rdiff -s since I'm feeding the
output into cvs2cl --xml.

Client is 2.0.11 CVSNT (Windows 2000)
Server is (Linux)

Here are steps to reproduce:

1. rtag module with TAG1. File Blah.txt doesn't exist yet.
2. Add Blah.txt to repository, make a couple of changes, Blah.txt now 1.3.
3. rtag module with TAG2.
4. Run cvs rlog -rTAG1::TAG2 module
5. The changes to Blah.txt will not appear because TAG1 didn't exist before.

This seems inconsistent with behaviour of other parts of cvs, and certainly
breaks my changeset roll-forward/roll-back scripts.

To my understanding, the logic to fix this would be:

- If TAG2 exists on file, but not TAG1, then act as if the file were tagged
version before revision 1.1. Therefore, -rBEFORE::1.1 would return the
changes for 1.1 for that file. I think that would work for branches too
since there should at least be a phantom copy of the file if it was in the
repository, but deleted.

Does this sound right?

TIA for any assistance,

Matthew Herrmann
Far Edge Technology

reply via email to

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