[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: |
Wed, 28 Jul 2004 15:24:15 -0400 (EDT) |
Prashant writes:
>
> cvs diff, it shows nothing. When I do a cvs status, it says "Needs
> Patch". Am I understanding the function of cvs diff incorrectly?
Yes. By default, cvs diff shows you the differences between your
working copy of the file and the repository revision it is based on,
*not* the most recent revision in the repository. That is, it shows you
the changes *you* have made to your working copy, not the changes other
people have made in the repository. To get the differences between your
working directory and the tip of the trunk, use -rHEAD. If you're
working on a branch, use the branch name rather than HEAD.
-Larry Jones
Apparently I was misinformed. -- Calvin