emacs-devel
[Top][All Lists]
Advanced

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

Re: d r -> diff-repository


From: Juri Linkov
Subject: Re: d r -> diff-repository
Date: Mon, 12 Jul 2004 15:27:35 +0300
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

address@hidden (Kim F. Storm) writes:
> Juri Linkov <address@hidden> writes:
>> There is another useful command missing in PCVS: to view the changes
>> anyone has committed to the repository since you last executed
>> checkout/update/commit.  This command is useful to look at the changes
>> in the repository before doing cvs-update.
>
> How is this different from d h (cvs-mode-diff-head) ?

`d h' displays the difference between your working file and the latest
revision committed to the repository.  That means that it intermixes
in one diff your changes and changes anyone has committed to the
repository since you last executed checkout/update/commit.  As such
`d h' is pretty useless since you can't tell where are your changes
and where are changes anyone committed to the repository.  Such diff
actually displays the changes which, if committed, will overwrite
the changes someone committed to the repository.  But since in most
cases you don't want to overwrite committed changes, looking at such
diff is useless anyhow.

Instead of one composite diff, two distinct diff types are more useful:
one is `d =' which displays only your changes, and a new `d r' which
displays the changes committed to the repository since your last
checkout/update/commit.

Actually, `d r' displays the same changes you might receive from the
automatic emacs-diffs mailing list.  But instead of subscribing to
emacs-diffs and browsing the mail archives, if you want to track all
changes in the CVS repository, you can move the point to the PCL-CVS
line with the CVS root directory "In directory .:" and type `d r'.

-- 
Juri Linkov
http://www.jurta.org/emacs/





reply via email to

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