info-cvs
[Top][All Lists]
Advanced

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

Re: Main branch tips


From: Larry Jones
Subject: Re: Main branch tips
Date: Tue, 2 Dec 2003 10:39:20 -0500 (EST)

address@hidden writes:
> 
> For any branch but the main one I can refer to latest source code versions 
> using simply the branch name.
> Is there some way (or special tag) which will allow me to refer to the 
> "tips" of main branch, so I can use:
> cvs diff -r some_branch -r main_branch

For most things you can use "HEAD", but diff takes "HEAD" to mean the
head of the current branch rather than the head of the trunk.  Unless
you've mucked with the revision numbers, the trunk will be branch 1, so
you can use the revision "1" to refer to it.

-Larry Jones

Your gender would be a lot more tolerable if it wasn't so darn cynical!
-- Calvin




reply via email to

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