From: Stefan Monnier <monnier@iro.umontreal.ca>
To: Andy Moreton <andrewjmoreton@gmail.com>
Cc: 13405@debbugs.gnu.org
Subject: bug#13405: 24.3; log-view-diff-changeset reports wrong results
Date: Fri, 11 Jan 2013 18:13:26 -0500 [thread overview]
Message-ID: <jwv4nin2u3d.fsf-monnier+emacs@gnu.org> (raw)
In-Reply-To: <50EEE630.3000306@gmail.com> (Andy Moreton's message of "Thu, 10 Jan 2013 16:02:56 +0000")
> 3) In the *vc-change-log* buffer, type D (log-view-diff-changeset) to view
> the changeset for that single revision.
> Emacs runs "hg diff --git -r 46768 -r 46769", but this does not show
> the expected contents of the changeset, as the previous revision was
> on a different named branch. Instead this shows the (large) diff between
> the two branches. The line counts illustrate this:
> # hg diff -r 46768 -r 46769 | wc -l ## Diff between branches
> 102276
> # hg diff -c 46769 | wc -l ## Changeset diff
> 295
> # hg log -p -r 46769 | wc -l ## Changeset diff + hg metadata
> 302
> The second and third commands give the expected output.
> Can log-view-diff-changeset be changed to deal with this case more
> gracefully ?
VC assumes you can get the changeset by running
"hg diff -r <something> -r 46769". Is there a <something> that would
give the right answer? Ideally this <something> should be computable
from "46769".
Stefan
next prev parent reply other threads:[~2013-01-11 23:13 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-10 16:02 bug#13405: 24.3; log-view-diff-changeset reports wrong results Andy Moreton
2013-01-11 23:13 ` Stefan Monnier [this message]
2013-01-12 14:22 ` Andy Moreton
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=jwv4nin2u3d.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=13405@debbugs.gnu.org \
--cc=andrewjmoreton@gmail.com \
/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.