Re: about log and rdiff commands

2003-09-22 Thread Larry Jones
Julien Wajsberg writes:
> 
> When using cvs log -rHEAD, I successfully get the log messages for the
> trunk.

No, you don't.  HEAD is the most recent revision on the *default*
branch, which need not be the trunk; it could be a vendor branch.  And
you should only get the log message for the most recent revision, not
all the revisions.  A bare "-r" should do the same thing.

> But wit cvs log -rHEAD., (with a dot) which should give me the log message
> for the last revisions on the trunk, I just get:
> cvs server: warning: no branch `HEAD' in `/cvs/module/myfile.c,v'

Which is exactly right -- HEAD is a *revision* tag, not a branch tag. 
Unless you've messed around with the revision numbers, "1" is the branch
number of the trunk, so "-r1" should give you all the log messages on
the trunk.

> I found however that cvs log -r. gives me what I want, bu it's somewhat
> cofusing :)

As far as I know, that's synonymous with "-r" (and "-rHEAD"), which
should be considerably less confusing.

> (I'm using cvs 1.11.1p1).

You might want to update -- the current stable release is 1.11.6.

-Larry Jones

The problem with the future is that it keeps turning into the present.
-- Hobbes


___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs


about log and rdiff commands

2003-09-22 Thread Julien Wajsberg
Hi,

I'm experimenting a little with the log command, and I found a strange
behaviour.

When using cvs log -rHEAD, I successfully get the log messages for the
trunk.
But wit cvs log -rHEAD., (with a dot) which should give me the log message
for the last revisions on the trunk, I just get:
cvs server: warning: no branch `HEAD' in `/cvs/module/myfile.c,v'

I found however that cvs log -r. gives me what I want, bu it's somewhat
cofusing :)


Another behaviour that I dislike is with the rdiff command, but this time
it could maybe not be changed :/
It's with cvs rdiff -s.
For a deleted file, we don't get any information, except it has been
deleted.
I find that it's inconvenient if you want to findm for example, all log
messages
between an old tag and the moment it was deleted.
I however know that a deleted file gets a revision number, and I actually
get that with either cvs log -rBRANCH. or cvs log -s dead, but it's not
practical to have a special case because of this :(
I understand however that it could maybe not be changed...

(I'm using cvs 1.11.1p1).

--
Julien



___
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs