[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cvs rlog revision range operator (::) doesn't show log messages from new
From: |
Samuel Mikes |
Subject: |
cvs rlog revision range operator (::) doesn't show log messages from newly added files |
Date: |
Tue, 26 Aug 2003 16:12:08 -0600 |
I have included an sh script below that demonstrates the problem in a
scratch repository. The relevant part of the script output is:
cvs rlog: Logging test
cvs rlog: warning: no revision `r1' in
`/home/smikes/scratch/root/test/newfile,v'
Instead I would expect to see the commit message for that file.
I see this problem in both 1.11.2 and 1.11.6.
When the :: operator was introduced, I believe that the behavior was
to include files in the log if the file was added between the start
tag and end tag. That's what it seems to say on this page:
http://www.cvshome.org/dev/patches/log
Excerpt:
File exists in V1 File exists in V2 Should log
----------------------------------------------------------------
yes yes yes
yes no (Attic) yes *
no (not created) yes (added) yes
no (Attic) yes (resurrected) yes
no (Attic) no (Attic) no +
If that was the case, then is it possible that this behavior changed
in Jan 2002 when issue 40 "cvs log -r <version> should not display
unless tag is found" was fixed?
http://ccvs.cvshome.org/issues/show_bug.cgi?id=40
Thanks,
Sam Mikes
#!/bin/sh
rm -rf scratch
mkdir scratch
cd scratch
export CVSROOT=`pwd`/root
cvs init
mkdir test
cd test
echo foo > startfile
cvs import -m 'imported' test user start
cd ..
rm -r test
cvs checkout test
cd test
cvs tag r1
echo bar > newfile
cvs add -m 'added' newfile
cvs commit -m 'commit added' newfile
cvs tag r2
cd ..
cvs rlog -N -S -rr1::r2 test
N test/startfile
No conflicts created by this import
cvs checkout: Updating test
U test/startfile
cvs tag: Tagging .
T startfile
cvs add: scheduling file `newfile' for addition
cvs add: use 'cvs commit' to add this file permanently
RCS file: /home/smikes/scratch/scratch/root/test/newfile,v
done
Checking in newfile;
/home/smikes/scratch/scratch/root/test/newfile,v <-- newfile
initial revision: 1.1
done
cvs tag: Tagging .
T newfile
T startfile
cvs rlog: Logging test
cvs rlog: warning: no revision `r1' in
`/home/smikes/scratch/scratch/root/test/newfile,v'
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- cvs rlog revision range operator (::) doesn't show log messages from newly added files,
Samuel Mikes <=