info-cvs
[Top][All Lists]
Advanced

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

Re: CVS DIFF problem


From: Larry Jones
Subject: Re: CVS DIFF problem
Date: Sun, 3 Nov 2002 14:00:15 -0500 (EST)

Gyetvan Andras writes:
> 
> So I have a problem with CVS DIFF. If I ask query update "cvs -n update 
> xyz.txt" I see the changes "U xyz.txt", but when I diff the working dir 
> with the repository the diff says that the two files are identical.

When you use diff with no explicit revision, it diffs against the
revision you checked out, not the most recent revision in the
repository.  In other words, it assumes you want to know what changes
*you* have made, not what changes other people have made.  To diff
against the most recent revision, use "-r HEAD".

-Larry Jones

I'm crying because out there he's gone, but he's not gone inside me. -- Calvin




reply via email to

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