info-cvs
[Top][All Lists]
Advanced

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

Re: cvs log -r


From: Chuck Rossi
Subject: Re: cvs log -r
Date: Fri, 6 Jul 2001 13:55:15 -0700

On Fri, Jul 06, 2001 at 03:03:01PM -0400, Larry Jones wrote:
> Zachary M. Smith writes:
> > 
> > i am getting errors similar to this:
> > 
> > cvs log -N -rr011860:r011870
> > 
> > cvs server: warning: no revision `r011860' in 
> > `/source/module/Attic/something.c,v'
> 
> Then that's what I said: if either of the tags doesn't exist, you get
> the entire revision history.

.....for that file.  Many of the past threads mention this problem
clearly.

I have read the various threads about "cvs log" and "cvs rlog" not doing
what one expects when run with "-rtag1:tag2".  I think I'm seeing a
problem - or not understanding something:

I have two tags on the same branch ("rel2").  'cvs rdiff' does the
correct thing when I ask it what changed between two tags on that branch:


% cvs -q rdiff -kk -s -rbuild-1261 -rbuild-1263 tree3
File tree3/apps/uninst/myuninst/myuninst.cpp changed from revision 1.7 to 
1.7.4.1
File tree3/lib/mycontrol/mycontrolmy.c changed from revision 1.91.8.3 to 
1.91.8.4
File tree3/ui/data/htmlhelp/desktop/mytt.hhp changed from revision 1.7 to 
1.7.10.1

However, 'cvs [r]log' gives back the last log entry for _every_ file in the 
tree:

% cvs -q rlog -N -rbuild-1261:build-1263 tree3

This is with cvs 1.11.1p1 on the client and server.

This is what I did to work around it:

%  cvs -q log -N -rrel2 `cvs -q rdiff -s -rbuild-1261 -rbuild-1263 tree3  | sed 
-e's/^File tree3\///' -e's/ changed.*$//' -e'/^$/d' -e'/ /d'`


chuckr



reply via email to

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