[Top][All Lists]

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

Re: CVS diff of tip vs. checked out

From: Kaz Kylheku
Subject: Re: CVS diff of tip vs. checked out
Date: Fri, 21 Mar 2003 08:58:31 -0800 (PST)

On Fri, 21 Mar 2003, richard blair wrote:

> Date: Fri, 21 Mar 2003 09:53:05 -0700
> From: richard blair <address@hidden>
> To: address@hidden
> Subject: CVS diff of tip vs. checked out
> I check out version 1.3 and make edits in my own sandbox version.  Then 
> someone else checks in 1.4.  When I do a cvs diff, it just tells me the 
> diff between my changes and 1.3, and not the tip which is 1.4.  Is there 

That is correct; this is the right behavior that you want 99% of the
time, so that you can review the changes that you made against the
revision you started from.

> a way to do a cvs diff with the tip, whatever it may be?  I know I can 
> specify revisions, but would like to skip having to do a cvs log to find 
> out what the tip is.  Any suggestions?

 cvs diff -r HEAD file           # on main trunk
 cvs diff -r branch-tag file     # on branch ``branch-tag''

These tags are what always identify the tip.

reply via email to

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