all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juri Linkov <juri@jurta.org>
Cc: emacs-devel@gnu.org
Subject: Re: d r -> diff-repository
Date: Mon, 12 Jul 2004 15:27:35 +0300	[thread overview]
Message-ID: <878ydpo1fs.fsf@mail.jurta.org> (raw)
In-Reply-To: <m34qodpnx3.fsf@kfs-l.imdomain.dk> (Kim F. Storm's message of "12 Jul 2004 11:36:40 +0200")

storm@cua.dk (Kim F. Storm) writes:
> Juri Linkov <juri@jurta.org> 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	other threads:[~2004-07-12 12:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-06-07 14:46 New PCVS command: d y -> diff-yesterday Kim F. Storm
2004-06-08 13:31 ` Robert J. Chassell
2004-06-27 18:23 ` d r -> diff-repository (was: New PCVS command: d y -> diff-yesterday) Juri Linkov
2004-07-12  9:36   ` Kim F. Storm
2004-07-12 12:27     ` Juri Linkov [this message]
2004-07-12 13:02       ` d r -> diff-repository Kim F. Storm

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878ydpo1fs.fsf@mail.jurta.org \
    --to=juri@jurta.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.