info-cvs
[Top][All Lists]
Advanced

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

RE: diff'ing a branch against HEAD doesn't work


From: Jim.Hyslop
Subject: RE: diff'ing a branch against HEAD doesn't work
Date: Thu, 14 Oct 2004 09:26:12 -0400

Jean-Christian Imbeault wrote:
> What is the reason why I can diff from HEAD to another branch but not
> from a branch to HEAD?

Unfortunately, the keyword HEAD means something slightly different for
'diff' than it does for most (all?) other commands. 

For 'diff': if the file has a sticky tag that refers to a branch, HEAD means
the most recent revision on that branch; otherwise HEAD means the most
recent revision in the trunk.

For most (or all?) other commands, HEAD means the most recent revision in
the trunk (or perhaps the default branch, if that has been set using 'cvs
admin -b').

You might try using rdiff instead.

-- 
Jim Hyslop
Senior Software Designer
Leitch Technology International Inc. ( http://www.leitch.com )
Columnist, C/C++ Users Journal ( http://www.cuj.com/experts )


 




reply via email to

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