bug-cvs
[Top][All Lists]
Advanced

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

Re: Bug: cvs diff -rHEAD does not always refer to head of trunk


From: Larry Jones
Subject: Re: Bug: cvs diff -rHEAD does not always refer to head of trunk
Date: Thu, 3 Jul 2003 16:19:40 -0400 (EDT)

Jim.Hyslop writes:
> 
> The -rHEAD option for cvs diff refers to the head of the current branch,
> rather than the latest trunk revision.

That's as intended.  It's even documented in (comments in the source of)
the manual.  It is inconsistent, however, and I for one wouldn't object
to changing it if someone wants to do so.

> Most importantly, `HEAD' is the only way to symbolically refer to the head
> of the trunk. You can refer to the head of a branch by specifying the
> symbolic branch tag.

Normally, you can also refer to the head of the trunk by specifying "1".

You should note, however, that "HEAD" does *not* refer to the head of
the trunk, it refers to the head of the default branch.

-Larry Jones

How am I supposed to learn surgery if I can't dissect anything? -- Calvin




reply via email to

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