GNU logs - #13004, boring messages


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13004: 24.2; vc-diff from vc-log doesn't show diff before renames (for Mercurial backend).
Resent-From: Oleksandr Gavenko <gavenkoa@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 26 Nov 2012 18:32:02 +0000
Resent-Message-ID: <handler.13004.B.135395466512369 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 13004
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: 13004 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-gnu-emacs@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.135395466512369
          (code B ref -1); Mon, 26 Nov 2012 18:32:02 +0000
Received: (at submit) by debbugs.gnu.org; 26 Nov 2012 18:31:05 +0000
Received: from localhost ([127.0.0.1]:40413 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Td3SS-0003DQ-UZ
	for submit <at> debbugs.gnu.org; Mon, 26 Nov 2012 13:31:05 -0500
Received: from eggs.gnu.org ([208.118.235.92]:50565)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <gavenkoa@HIDDEN>) id 1Td3SP-0003Cz-SE
	for submit <at> debbugs.gnu.org; Mon, 26 Nov 2012 13:31:03 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gavenkoa@HIDDEN>) id 1Td3Qi-0003Pm-4W
	for submit <at> debbugs.gnu.org; Mon, 26 Nov 2012 13:29:17 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:44284)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gavenkoa@HIDDEN>) id 1Td3Qi-0003PT-0j
	for submit <at> debbugs.gnu.org; Mon, 26 Nov 2012 13:29:16 -0500
Received: from eggs.gnu.org ([208.118.235.92]:35318)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gavenkoa@HIDDEN>) id 1Td3Qg-0001rX-Ry
	for bug-gnu-emacs@HIDDEN; Mon, 26 Nov 2012 13:29:15 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gavenkoa@HIDDEN>) id 1Td3Qf-0003Ie-Pp
	for bug-gnu-emacs@HIDDEN; Mon, 26 Nov 2012 13:29:14 -0500
Received: from mail-ea0-f169.google.com ([209.85.215.169]:55023)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gavenkoa@HIDDEN>) id 1Td3Qf-0003HN-Ie
	for bug-gnu-emacs@HIDDEN; Mon, 26 Nov 2012 13:29:13 -0500
Received: by mail-ea0-f169.google.com with SMTP id a12so4448105eaa.0
	for <bug-gnu-emacs@HIDDEN>; Mon, 26 Nov 2012 10:29:12 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:to:subject:date:message-id:mime-version:content-type;
	bh=Y7lRFRS7DED+jCWABv3YksfhyW3RCYJ8KV4POCyuiF0=;
	b=Na4eBIj+bxj8Kvk+j+i6WxEFSs8CWVMAvhbhIL+i5fqEjcIN37V8QFsjKLUIBp9wzH
	sC0h70Ix208v877wyn+AiBtxk21Gs9T52YLm7HBNllv/1YiAr0UR7UORYkLzDpUh/mtF
	0Ias1TlCc4Z7BLGtQ4ZOgPRwc6mxSrZrdwgdsw6E99LUBpla3ZsQbIWoPHfVSwnqM+Ca
	OcgONUOzpQFpQDUEWssRssOPfajN1q+V65I6Ujc2Y0iqn7bXl4FpjyWZG6DSohUgive8
	vMp/o/nOdGn4nNsmFPUy3r3GiZC8CVxQXyqnn/cPgTagW02f2UImsnZPAczWJYbZJIDo
	Pl1A==
Received: by 10.14.225.72 with SMTP id y48mr44615636eep.46.1353954552465;
	Mon, 26 Nov 2012 10:29:12 -0800 (PST)
Received: from desktop ([37.229.16.202])
	by mx.google.com with ESMTPS id f49sm4848915eep.12.2012.11.26.10.29.09
	(version=SSLv3 cipher=OTHER); Mon, 26 Nov 2012 10:29:11 -0800 (PST)
From: Oleksandr Gavenko <gavenkoa@HIDDEN>
Date: Mon, 26 Nov 2012 20:29:08 +0200
Message-ID: <87boekdxqj.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -3.4 (---)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.2 (----)

As always:

  $ emacs -Q

Next I open any file from Mercurial repo which is "hg mv" or "hg cp".

If you build history "C-x v l" and try to look diff (log-view-diff or "d") for
changeset before rename you get message, like:

  Finding changes in /home/user/devel/my-devel/gadict/en-pronunciation_ru.rst...
  No changes between 214 and 215

while:

  $ hg diff -r 215 en-pronunciation_ru.rst

  diff --git a/en-spelling_ru.rst b/en-pronunciation_ru.rst
  copy from en-spelling_ru.rst
  copy to en-pronunciation_ru.rst
  --- a/en-spelling_ru.rst
  +++ b/en-pronunciation_ru.rst
  @@ -1,5 +1,4 @@
   .. -*- coding: utf-8 -*-
  -
   .. include:: header.rst

   ===================


In GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-09-09 on trouble, modified by Debian

Also reproduced in GNU Emacs 24.2.50.1 (x86_64-unknown-linux-gnu, GTK+ Version
2.24.10):

  $ bzr info -v

  Related branches:
    parent branch: bzr://bzr.savannah.gnu.org/emacs/emacs-24/

  Branch history:
    110934 revisions
     10084 days old
   first revision: Thu 1985-04-18 00:48:29 +0000
  latest revision: Wed 2012-11-21 21:28:14 +0200

I expect that vc-view-diff follow history on copy as this do original CLI
client "hg".

-- 
Best regards!




Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.428 (Entity 5.428)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Oleksandr Gavenko <gavenkoa@HIDDEN>
Subject: bug#13004: Acknowledgement (24.2; vc-diff from vc-log doesn't
 show diff before renames (for Mercurial backend).)
Message-ID: <handler.13004.B.135395466512369.ack <at> debbugs.gnu.org>
References: <87boekdxqj.fsf@HIDDEN>
X-Gnu-PR-Message: ack 13004
X-Gnu-PR-Package: emacs
Reply-To: 13004 <at> debbugs.gnu.org
Date: Mon, 26 Nov 2012 18:32:03 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-gnu-emacs@HIDDEN

If you wish to submit further information on this problem, please
send it to 13004 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
13004: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D13004
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13004: 24.2; vc-diff from vc-log doesn't show diff before renames (for Mercurial backend).
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 26 Nov 2012 21:48:01 +0000
Resent-Message-ID: <handler.13004.B13004.135396646930900 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13004
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Oleksandr Gavenko <gavenkoa@HIDDEN>
Cc: 13004 <at> debbugs.gnu.org
Received: via spool by 13004-submit <at> debbugs.gnu.org id=B13004.135396646930900
          (code B ref 13004); Mon, 26 Nov 2012 21:48:01 +0000
Received: (at 13004) by debbugs.gnu.org; 26 Nov 2012 21:47:49 +0000
Received: from localhost ([127.0.0.1]:40610 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Td6Wq-00082L-Px
	for submit <at> debbugs.gnu.org; Mon, 26 Nov 2012 16:47:48 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:46997)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1Td6Wp-00082C-H9
	for 13004 <at> debbugs.gnu.org; Mon, 26 Nov 2012 16:47:48 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1Td6V6-0001ea-NW; Mon, 26 Nov 2012 16:46:00 -0500
From: Glenn Morris <rgm@HIDDEN>
References: <87boekdxqj.fsf@HIDDEN>
X-Spook: Marxist Rule Psix CISU Hugo Chavez global Ft. Meade
X-Ran: _aTROg1A\fU@$]yH5^F^q=3Z76w6/|wbOvRj|Hf!Ejl:t%[z*!J!rXMXo1EX`(FHv,4hVb
X-Hue: yellow
X-Attribution: GM
Date: Mon, 26 Nov 2012 16:46:00 -0500
In-Reply-To: <87boekdxqj.fsf@HIDDEN> (Oleksandr Gavenko's
	message of "Mon, 26 Nov 2012 20:29:08 +0200")
Message-ID: <19fw3w597r.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.6 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.6 (----)

Oleksandr Gavenko wrote:

>   $ hg diff -r 215 en-pronunciation_ru.rst

Right, but what does

hg log en-pronunciation_ru.rst

show?

Emacs just calls hg log. It seems that by default this does not follow
renames. You can add "-f" to vc-hg-log-switches. I don't think this
should be there by default if it is not the default behaviour of hg
itself.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13004: 24.2; vc-diff from vc-log doesn't show diff before renames (for Mercurial backend).
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 26 Nov 2012 21:51:02 +0000
Resent-Message-ID: <handler.13004.B13004.135396664931180 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13004
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Oleksandr Gavenko <gavenkoa@HIDDEN>
Cc: 13004 <at> debbugs.gnu.org
Received: via spool by 13004-submit <at> debbugs.gnu.org id=B13004.135396664931180
          (code B ref 13004); Mon, 26 Nov 2012 21:51:02 +0000
Received: (at 13004) by debbugs.gnu.org; 26 Nov 2012 21:50:49 +0000
Received: from localhost ([127.0.0.1]:40615 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Td6Zl-00086q-6K
	for submit <at> debbugs.gnu.org; Mon, 26 Nov 2012 16:50:49 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:47042)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1Td6Zi-00086j-UZ
	for 13004 <at> debbugs.gnu.org; Mon, 26 Nov 2012 16:50:47 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1Td6Y1-0003tk-5Y; Mon, 26 Nov 2012 16:49:01 -0500
From: Glenn Morris <rgm@HIDDEN>
References: <87boekdxqj.fsf@HIDDEN>
	<19fw3w597r.fsf@HIDDEN>
X-Spook: fundamentalist Attorney General Islam Abduganievich
X-Ran: 4)Erz">\"0ZTMPyTV(Cc:=XGakD}5;y>NMA1t4G)3E5IrZT>?s{;S@*$>tj|#KPYTOSC9"
X-Hue: white
X-Attribution: GM
Date: Mon, 26 Nov 2012 16:49:00 -0500
In-Reply-To: <19fw3w597r.fsf@HIDDEN> (Glenn Morris's message of
	"Mon, 26 Nov 2012 16:46:00 -0500")
Message-ID: <ysboek592r.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.6 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.6 (----)


Sorry, I didn't read properly. You were talking about calling "diff"
from a log buffer. I still think using log -f may help, since otherwise
it presumably looks like there is nothing to take a diff of. Does it
help?




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13004: 24.2; vc-diff from vc-log doesn't show diff before renames (for Mercurial backend).
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 26 Nov 2012 21:56:02 +0000
Resent-Message-ID: <handler.13004.B13004.135396695031626 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13004
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Oleksandr Gavenko <gavenkoa@HIDDEN>
Cc: 13004 <at> debbugs.gnu.org
Received: via spool by 13004-submit <at> debbugs.gnu.org id=B13004.135396695031626
          (code B ref 13004); Mon, 26 Nov 2012 21:56:02 +0000
Received: (at 13004) by debbugs.gnu.org; 26 Nov 2012 21:55:50 +0000
Received: from localhost ([127.0.0.1]:40621 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Td6ec-0008E3-0P
	for submit <at> debbugs.gnu.org; Mon, 26 Nov 2012 16:55:50 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:47116)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1Td6eZ-0008Du-Ua
	for 13004 <at> debbugs.gnu.org; Mon, 26 Nov 2012 16:55:48 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1Td6cs-0005OB-DI; Mon, 26 Nov 2012 16:54:02 -0500
From: Glenn Morris <rgm@HIDDEN>
References: <87boekdxqj.fsf@HIDDEN>
	<19fw3w597r.fsf@HIDDEN> <ysboek592r.fsf@HIDDEN>
X-Spook: Ft. Bragg Albania threat world domination Europol FSF
X-Ran: E)fQ9sS~Ll|4'R@/ANmgwh?m3S/}>#@CIhp?.5o8]4R$cN8ebw!>?[U4_"[$+CC$WZ3eLb
X-Hue: green
X-Attribution: GM
Date: Mon, 26 Nov 2012 16:54:02 -0500
In-Reply-To: <ysboek592r.fsf@HIDDEN> (Glenn Morris's message of
	"Mon, 26 Nov 2012 16:49:00 -0500")
Message-ID: <cd4nkc58ud.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.6 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.6 (----)

Glenn Morris wrote:

> Sorry, I didn't read properly. You were talking about calling "diff"
> from a log buffer. I still think using log -f may help, since otherwise
> it presumably looks like there is nothing to take a diff of. Does it
> help?

Answering my own question, no.
But what does

hg diff -r 214 -r 215 en-pronunciation_ru.rst

report for you?

For me, an equivalent diff command does not report any differences.
So this looks like an hg issue, not an Emacs one.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13004: 24.2; vc-diff from vc-log doesn't show diff before renames (for Mercurial backend).
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Mon, 26 Nov 2012 21:59:01 +0000
Resent-Message-ID: <handler.13004.B13004.135396710631871 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13004
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Oleksandr Gavenko <gavenkoa@HIDDEN>
Cc: 13004 <at> debbugs.gnu.org
Received: via spool by 13004-submit <at> debbugs.gnu.org id=B13004.135396710631871
          (code B ref 13004); Mon, 26 Nov 2012 21:59:01 +0000
Received: (at 13004) by debbugs.gnu.org; 26 Nov 2012 21:58:26 +0000
Received: from localhost ([127.0.0.1]:40626 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1Td6h8-0008I0-Da
	for submit <at> debbugs.gnu.org; Mon, 26 Nov 2012 16:58:26 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:47174)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1Td6h5-0008Hs-Js
	for 13004 <at> debbugs.gnu.org; Mon, 26 Nov 2012 16:58:24 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1Td6fO-0006n1-12; Mon, 26 Nov 2012 16:56:38 -0500
From: Glenn Morris <rgm@HIDDEN>
References: <87boekdxqj.fsf@HIDDEN>
	<19fw3w597r.fsf@HIDDEN> <ysboek592r.fsf@HIDDEN>
	<cd4nkc58ud.fsf@HIDDEN>
X-Spook: Lexis-Nexis defense information warfare keyhole Nazi
X-Ran: ZVWd=,v@ZQ`NhU];<nB399aybsfU$w/y$>=&nfwm.~$E`hO:Ly)@>IiqylF&NtQQfgKg0!
X-Hue: yellow
X-Attribution: GM
Date: Mon, 26 Nov 2012 16:56:37 -0500
In-Reply-To: <cd4nkc58ud.fsf@HIDDEN> (Glenn Morris's message of
	"Mon, 26 Nov 2012 16:54:02 -0500")
Message-ID: <myzk243u5m.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.6 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.4 (-----)


A minimal test case starting from scratch would be helpful.

mkdir /tmp/test
cd /tmp/test
touch 1
hg init
hg add
hg commit -m "commit 1"

etc




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13004: 24.2; vc-diff from vc-log doesn't show diff before renames (for Mercurial backend).
Resent-From: Oleksandr Gavenko <gavenkoa@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 27 Nov 2012 19:30:02 +0000
Resent-Message-ID: <handler.13004.B13004.135404458117038 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13004
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: moreinfo
To: Glenn Morris <rgm@HIDDEN>
Cc: 13004 <at> debbugs.gnu.org
Received: via spool by 13004-submit <at> debbugs.gnu.org id=B13004.135404458117038
          (code B ref 13004); Tue, 27 Nov 2012 19:30:02 +0000
Received: (at 13004) by debbugs.gnu.org; 27 Nov 2012 19:29:41 +0000
Received: from localhost ([127.0.0.1]:42111 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TdQqi-0004Ql-UP
	for submit <at> debbugs.gnu.org; Tue, 27 Nov 2012 14:29:41 -0500
Received: from mail-ee0-f44.google.com ([74.125.83.44]:51342)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <gavenkoa@HIDDEN>) id 1TdQqe-0004Qb-Cr
	for 13004 <at> debbugs.gnu.org; Tue, 27 Nov 2012 14:29:39 -0500
Received: by mail-ee0-f44.google.com with SMTP id b47so7837121eek.3
	for <13004 <at> debbugs.gnu.org>; Tue, 27 Nov 2012 11:27:45 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:to:cc:subject:organization:references:date:in-reply-to
	:message-id:user-agent:mime-version:content-type;
	bh=llc9843okgAq4osZP3dje33+nVzdMRUZdMMbChUIo48=;
	b=GWTfflH5jDFTOIhGoSSEi7WYQfb+irbmNAS+HXphcp21q0TyErBCAZuR+8Lyi2oJHM
	dls0Rua9eRyK8FxU/r7sNLqyaiJWfvgoMJEBWOto61o/9yI5XOGwWB7RXX0RLJvUy5iM
	9awiv/zvr6Odbrb5ymKworhL2bOshtA+WTbz/cM9/u2Etf8VkbF8ydktS168Nn64QM7N
	Z1LuJCnFaHruPZ/wWmsMoyOK5HIPY9DLCOMUBv/UNqRw9kEa/o4KKajmoIt1CMxg9a3f
	qHqSnggTLx3rRYMDbssaq/SIgktTke6QZ72IJKZSVCZ52tYrCxuJaUXjd8kHUkTpxz+R
	rpRw==
Received: by 10.14.223.200 with SMTP id v48mr61434635eep.24.1354044465843;
	Tue, 27 Nov 2012 11:27:45 -0800 (PST)
Received: from desktop ([37.229.16.202])
	by mx.google.com with ESMTPS id e2sm42488943eeo.8.2012.11.27.11.27.43
	(version=SSLv3 cipher=OTHER); Tue, 27 Nov 2012 11:27:44 -0800 (PST)
From: Oleksandr Gavenko <gavenkoa@HIDDEN>
Organization: Oleksandr Gavenko <gavenkoa@HIDDEN>,
	http://gavenkoa.users.sf.net
References: <87boekdxqj.fsf@HIDDEN>
	<19fw3w597r.fsf@HIDDEN> <ysboek592r.fsf@HIDDEN>
	<cd4nkc58ud.fsf@HIDDEN> <myzk243u5m.fsf@HIDDEN>
Date: Tue, 27 Nov 2012 21:27:42 +0200
In-Reply-To: <myzk243u5m.fsf@HIDDEN> (Glenn Morris's message of
	"Mon, 26 Nov 2012 16:56:37 -0500")
Message-ID: <87haoau9qp.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.1 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -0.7 (/)

On 2012-11-26, Glenn Morris wrote:

> A minimal test case starting from scratch would be helpful.
>
> mkdir /tmp/test
> cd /tmp/test
> touch 1
> hg init
> hg add
> hg commit -m "commit 1"
>

  md /tmp/test
  hg init
  echo xxx >>README
  hg add
  hg ci -m init
  echo yyy >>README
  hg ci -m before
  hg mv README INSTALL
  hg ci -m rename
  echo zzz >>INSTALL
  hg ci -m after

Open INSTALL file in Emacs. "C-x v l" ("vc-print-log"). You get (I drop some
output):

  changeset:   3:00cf2a4ab691
  tag:         tip
  files:       INSTALL
  description:
  after

  changeset:   2:c6a81dfaea75
  files:       INSTALL README
  description:
  rename

  changeset:   1:9457c3fba41e
  files:       README
  description:
  before

  changeset:   0:ae606f956f03
  files:       README
  description:
  init

In changeset 3 "d" (log-view-diff) fine:

  diff --git a/INSTALL b/INSTALL
  --- a/INSTALL
  +++ b/INSTALL
  @@ -1,2 +1,3 @@
   xxx
   yyy
  +zzz

In changeset 2 "d" (log-view-diff) fine:

  diff --git a/README b/INSTALL
  copy from README
  copy to INSTALL

In changeset 1 "d" (log-view-diff) fail: empty *vc-diff* buffer and message:

  Finding changes in /tmp/test/INSTALL...
  No changes between 0 and 1

While I run in pure shell:

  $ hg diff -r 1 INSTALL
  diff --git a/README b/INSTALL
  rename from README
  rename to INSTALL
  --- a/README
  +++ b/INSTALL
  @@ -1,2 +1,3 @@
   xxx
   yyy
  +zzz

Also you ask to call:

  $ hg diff -r 1 -r 2 INSTALL
  diff --git a/README b/INSTALL
  copy from README
  copy to INSTALL

-- 
Best regards!




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13004: 24.2; vc-diff from vc-log doesn't show diff before renames (for Mercurial backend).
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 27 Nov 2012 20:12:01 +0000
Resent-Message-ID: <handler.13004.B13004.135404710120888 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13004
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Oleksandr Gavenko <gavenkoa@HIDDEN>
Cc: 13004 <at> debbugs.gnu.org
Received: via spool by 13004-submit <at> debbugs.gnu.org id=B13004.135404710120888
          (code B ref 13004); Tue, 27 Nov 2012 20:12:01 +0000
Received: (at 13004) by debbugs.gnu.org; 27 Nov 2012 20:11:41 +0000
Received: from localhost ([127.0.0.1]:42159 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TdRVM-0005Qq-Qt
	for submit <at> debbugs.gnu.org; Tue, 27 Nov 2012 15:11:41 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:40169)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1TdRVK-0005Qj-D7
	for 13004 <at> debbugs.gnu.org; Tue, 27 Nov 2012 15:11:39 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1TdRTX-0004xz-Ew; Tue, 27 Nov 2012 15:09:47 -0500
From: Glenn Morris <rgm@HIDDEN>
References: <87boekdxqj.fsf@HIDDEN>
	<19fw3w597r.fsf@HIDDEN> <ysboek592r.fsf@HIDDEN>
	<cd4nkc58ud.fsf@HIDDEN> <myzk243u5m.fsf@HIDDEN>
	<87haoau9qp.fsf@HIDDEN>
X-Spook: satellite imagery Yukon e-bomb LLNL offensive information
X-Ran: wg~:E\w/!^k902YKbaS/4fQx~=h9h3+upOS>ItyMEdA'IMvBz.P7PtxE.L)Xk'JL;r'd6"
X-Hue: yellow
X-Attribution: GM
Date: Tue, 27 Nov 2012 15:09:47 -0500
In-Reply-To: <87haoau9qp.fsf@HIDDEN> (Oleksandr Gavenko's
	message of "Tue, 27 Nov 2012 21:27:42 +0200")
Message-ID: <xa7gp6vmd0.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.6 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.6 (----)

Oleksandr Gavenko wrote:

>   md /tmp/test
>   hg init
>   echo xxx >>README
>   hg add
>   hg ci -m init
>   echo yyy >>README
>   hg ci -m before
>   hg mv README INSTALL
>   hg ci -m rename
>   echo zzz >>INSTALL
>   hg ci -m after

Perfect, thanks. (Assuming md == mkdir && cd)

> Open INSTALL file in Emacs. "C-x v l" ("vc-print-log"). You get (I drop some
> output):

I had to add -f to vc-hg-log-switches. I'm guessing you have it in .hgrc
maybe.

> In changeset 2 "d" (log-view-diff) fine:
>
>   diff --git a/README b/INSTALL
>   copy from README
>   copy to INSTALL

I had to add --git to vc-hg-diff-switches.

> In changeset 1 "d" (log-view-diff) fail: empty *vc-diff* buffer and message:
>
>   Finding changes in /tmp/test/INSTALL...
>   No changes between 0 and 1
[...]
>   $ hg diff -r 1 -r 2 INSTALL
>   diff --git a/README b/INSTALL
>   copy from README
>   copy to INSTALL

Obviously to compare with what you are asking Emacs to do, you need to run:

hg diff -r 0 -r 1 INSTALL

This prints nothing for me.

So I don't see any Emacs issue here.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13004: 24.2; vc-diff from vc-log doesn't show diff before renames (for Mercurial backend).
Resent-From: Oleksandr Gavenko <gavenkoa@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 27 Nov 2012 20:54:01 +0000
Resent-Message-ID: <handler.13004.B13004.135404963024524 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13004
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Glenn Morris <rgm@HIDDEN>
Cc: 13004 <at> debbugs.gnu.org
Received: via spool by 13004-submit <at> debbugs.gnu.org id=B13004.135404963024524
          (code B ref 13004); Tue, 27 Nov 2012 20:54:01 +0000
Received: (at 13004) by debbugs.gnu.org; 27 Nov 2012 20:53:50 +0000
Received: from localhost ([127.0.0.1]:42169 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TdSA9-0006NU-6W
	for submit <at> debbugs.gnu.org; Tue, 27 Nov 2012 15:53:49 -0500
Received: from mail-ee0-f44.google.com ([74.125.83.44]:49780)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <gavenkoa@HIDDEN>) id 1TdSA5-0006NM-TR
	for 13004 <at> debbugs.gnu.org; Tue, 27 Nov 2012 15:53:47 -0500
Received: by mail-ee0-f44.google.com with SMTP id b47so7885845eek.3
	for <13004 <at> debbugs.gnu.org>; Tue, 27 Nov 2012 12:51:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:to:cc:subject:organization:references:date:in-reply-to
	:message-id:user-agent:mime-version:content-type;
	bh=1ZXUXgrybmnD5Y8AOUyktBHeec0vvGeFXUVuX+p06xs=;
	b=BYdfFgGst7AdegLXG+6sSt1vmkSrOx/G4cJ7zh+ta4CN9wuKmuOfz/l54ayFKrPoiB
	BJ2LC09FRx0p1le1rqhbwtWi4Sizm+TN13H7wuRVWuWxU5EukbUTuP3pQFShUOU6QeGo
	g3VRH8m65RuywMC4QRyQKZM3hLhegeUxw9iz53vpfofycK/UI+kDG2i4RXUkjHAbEjtj
	Syo17fOKHxSF5dMPyY3qjCdTkyW8up5U7vi84SkwTI3gnEZ1I2knFkw8N4UJfDZhBLHG
	PVY1qmF4r5tGHxE7Se1WbYzcxLxEWmmcC4KgNUqp1S5c4CBIsNbq36j11XX2rFmaPIiu
	Xgpw==
Received: by 10.14.174.194 with SMTP id x42mr62328094eel.22.1354049514660;
	Tue, 27 Nov 2012 12:51:54 -0800 (PST)
Received: from desktop ([37.229.16.202])
	by mx.google.com with ESMTPS id q44sm4626120eep.5.2012.11.27.12.51.51
	(version=SSLv3 cipher=OTHER); Tue, 27 Nov 2012 12:51:53 -0800 (PST)
From: Oleksandr Gavenko <gavenkoa@HIDDEN>
Organization: Oleksandr Gavenko <gavenkoa@HIDDEN>,
	http://gavenkoa.users.sf.net
References: <87boekdxqj.fsf@HIDDEN>
	<19fw3w597r.fsf@HIDDEN> <ysboek592r.fsf@HIDDEN>
	<cd4nkc58ud.fsf@HIDDEN> <myzk243u5m.fsf@HIDDEN>
	<87haoau9qp.fsf@HIDDEN>
	<xa7gp6vmd0.fsf@HIDDEN>
Date: Tue, 27 Nov 2012 22:51:50 +0200
In-Reply-To: <xa7gp6vmd0.fsf@HIDDEN> (Glenn Morris's message of
	"Tue, 27 Nov 2012 15:09:47 -0500")
Message-ID: <87wqx693bt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.1 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -2.6 (--)

On 2012-11-27, Glenn Morris wrote:

> Oleksandr Gavenko wrote:
>
>>   md /tmp/test
>>   hg init
>>   echo xxx >>README
>>   hg add
>>   hg ci -m init
>>   echo yyy >>README
>>   hg ci -m before
>>   hg mv README INSTALL
>>   hg ci -m rename
>>   echo zzz >>INSTALL
>>   hg ci -m after
>
> Perfect, thanks. (Assuming md == mkdir && cd)
>
>> Open INSTALL file in Emacs. "C-x v l" ("vc-print-log"). You get (I drop some
>> output):
>
> I had to add -f to vc-hg-log-switches. I'm guessing you have it in .hgrc
> maybe.
>
Yes.

>> In changeset 2 "d" (log-view-diff) fine:
>>
>>   diff --git a/README b/INSTALL
>>   copy from README
>>   copy to INSTALL
>
> I had to add --git to vc-hg-diff-switches.
>
>> In changeset 1 "d" (log-view-diff) fail: empty *vc-diff* buffer and message:
>>
>>   Finding changes in /tmp/test/INSTALL...
>>   No changes between 0 and 1
> [...]
>>   $ hg diff -r 1 -r 2 INSTALL
>>   diff --git a/README b/INSTALL
>>   copy from README
>>   copy to INSTALL
>
> Obviously to compare with what you are asking Emacs to do, you need to run:
>
> hg diff -r 0 -r 1 INSTALL
>
> This prints nothing for me.
>
> So I don't see any Emacs issue here.

Sorry. My fail. I understand that...

I put proxy utility to logging Emacs calls to 'hg':

  #!/bin/sh
  echo "$@" >>~/tmp/hg.log
  /usr/bin/hg "$@"

so seen:

  "diff" "-r" "0" "-r" "1" "INSTALL"

Next I reread "hg help diff". Previously I make call:

  $ hg diff -r 1 INSTALL

but actually mean with "-c":

  $ hg diff -c 1 INSTALL

But that command print nothing... So you right that I misunderstand.

I surprised that Mercurial doesn't allow follow history per file. Actually it
handle renames as special case for merges.

In case of SVN - Emacs work as I expect (more precisely I hoped that HG work
as SVN):

  mkdir /tmp/test-svn
  cd /tmp/test-svn
  svnadmin create server-repo
  svn co file:///tmp/test-svn/server-repo/ local-repo
  cd local-repo
  echo xxx >>README
  svn add README
  svn ci -m init
  echo yyy >>README
  svn ci -m before1
  echo mmm >>README
  svn ci -m before2
  svn mv README INSTALL
  svn ci -m rename
  echo zzz >>INSTALL
  svn ci -m after

So for revision r3 "before2" I get diff:

  Index: README
  ===================================================================
  --- README	(revision 2)
  +++ README	(revision 3)
  @@ -1,2 +1,3 @@
   xxx
   yyy
  +mmm

  "svn"  "diff" "-r" "2:3" "INSTALL"

So for revision r2 "before1" I get diff:

  Index: README
  ===================================================================
  --- README	(revision 1)
  +++ README	(revision 2)
  @@ -1 +1,2 @@
   xxx
  +yyy

  svn "diff" "-r" "1:2" "INSTALL"


**PS** Why Emacs uses -r R1 -r R2 for HG? "-c" - do job more better as it
       actually compares to its first parent.

-- 
Best regards!




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13004: 24.2; vc-diff from vc-log doesn't show diff before renames (for Mercurial backend).
References: <87boekdxqj.fsf@HIDDEN>
In-Reply-To: <87boekdxqj.fsf@HIDDEN>
Resent-From: Oleksandr Gavenko <gavenkoa@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Tue, 27 Nov 2012 21:04:02 +0000
Resent-Message-ID: <handler.13004.B13004.135405021825393 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13004
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Glenn Morris <rgm@HIDDEN>
Cc: 13004 <at> debbugs.gnu.org
Received: via spool by 13004-submit <at> debbugs.gnu.org id=B13004.135405021825393
          (code B ref 13004); Tue, 27 Nov 2012 21:04:02 +0000
Received: (at 13004) by debbugs.gnu.org; 27 Nov 2012 21:03:38 +0000
Received: from localhost ([127.0.0.1]:42174 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TdSJd-0006bW-QB
	for submit <at> debbugs.gnu.org; Tue, 27 Nov 2012 16:03:38 -0500
Received: from mail-ee0-f44.google.com ([74.125.83.44]:53357)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <gavenkoa@HIDDEN>) id 1TdSJb-0006bK-8T
	for 13004 <at> debbugs.gnu.org; Tue, 27 Nov 2012 16:03:36 -0500
Received: by mail-ee0-f44.google.com with SMTP id b47so7891987eek.3
	for <13004 <at> debbugs.gnu.org>; Tue, 27 Nov 2012 13:01:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:to:cc:subject:organization:date:message-id:mime-version
	:content-type; bh=wS27UXG3pvzX52OorsCbU/ylsyQfyF6l36D9+aekDSQ=;
	b=JEL7vy+PA98VyDzf829Rc46674ztbyEyKuhlrfVAJweY11UU75ANpI7tSDN2Zz/OTk
	GBE/8/UIpoB3/83GTCKHxUCnl268I1POBToR154GIO95mjxsYCyKm4CWh+j9bu7FlI1B
	wmZ2jRSLuD4BUN4mvIJRh2xfIgyLuo7SczWqM+/tawYMxBPMN/BQW/Yj09Fq72/hcEya
	QzhPfvILhbHn3Hfwupi1q2mcQYuHbKoNGYriO0/AOmipn1/GTw5V5mzzZsGyI8RAv3AK
	1Y8lcL317hXQP4uwsQ1j381vCpQ7rud/eIRPK8WKselcPrs8GjXKmKcqmsvjAx79R8X4
	tNew==
Received: by 10.14.213.7 with SMTP id z7mr61286643eeo.39.1354050104218;
	Tue, 27 Nov 2012 13:01:44 -0800 (PST)
Received: from desktop ([37.229.16.202])
	by mx.google.com with ESMTPS id a44sm42982577eeo.7.2012.11.27.13.01.42
	(version=SSLv3 cipher=OTHER); Tue, 27 Nov 2012 13:01:43 -0800 (PST)
From: Oleksandr Gavenko <gavenkoa@HIDDEN>
Organization: Oleksandr Gavenko <gavenkoa@HIDDEN>,
	http://gavenkoa.users.sf.net
Date: Tue, 27 Nov 2012 23:01:41 +0200
Message-ID: <87txsa92ve.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.1 (/)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: 0.1 (/)

Additional info.

As we get know that HG doesn't allow follow history for HG another Emacs vc
module work as not expected.

So make test repo:

  mkdir /tmp/test
  cd /tmp/test
  hg init
  echo xxx >>README
  hg add
  hg ci -m init
  echo yyy >>README
  hg ci -m before
  hg mv README INSTALL
  hg ci -m rename
  echo zzz >>INSTALL
  hg ci -m after

open INSTALL file and annotate content (C-x v g runs the command vc-annotate).
Next go to previous version by "a" (vc-annotate-revision-previous-to-line) on
second line:

  0 Tue Nov 27 21:12:00 2012 +0200  README: xxx
  1 Tue Nov 27 21:12:23 2012 +0200  README: yyy          (*1*)
  3 Tue Nov 27 21:13:15 2012 +0200 INSTALL: zzz

So you move to:

  0 Tue Nov 27 21:12:00 2012 +0200 README: xxx           (*2*)

If you try move forward by "w" (vc-annotate-working-revision) Emacs print
error:

  vc-annotate-warp-revision: Invalid argument to vc-annotate-warp-revision

While in case of SVN we back to original state (*1*).

-- 
Best regards!




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13004: 24.2; vc-diff from vc-log doesn't show diff before renames (for Mercurial backend).
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 28 Nov 2012 20:29:02 +0000
Resent-Message-ID: <handler.13004.B13004.135413451528233 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13004
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Oleksandr Gavenko <gavenkoa@HIDDEN>
Cc: 13004 <at> debbugs.gnu.org
Received: via spool by 13004-submit <at> debbugs.gnu.org id=B13004.135413451528233
          (code B ref 13004); Wed, 28 Nov 2012 20:29:02 +0000
Received: (at 13004) by debbugs.gnu.org; 28 Nov 2012 20:28:35 +0000
Received: from localhost ([127.0.0.1]:44068 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TdoFF-0007LI-C2
	for submit <at> debbugs.gnu.org; Wed, 28 Nov 2012 15:28:35 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:45930)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1TdoFD-0007LA-1c
	for 13004 <at> debbugs.gnu.org; Wed, 28 Nov 2012 15:28:32 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1TdoDJ-0006Kd-SZ; Wed, 28 Nov 2012 15:26:33 -0500
From: Glenn Morris <rgm@HIDDEN>
References: <87boekdxqj.fsf@HIDDEN>
	<19fw3w597r.fsf@HIDDEN> <ysboek592r.fsf@HIDDEN>
	<cd4nkc58ud.fsf@HIDDEN> <myzk243u5m.fsf@HIDDEN>
	<87haoau9qp.fsf@HIDDEN>
	<xa7gp6vmd0.fsf@HIDDEN>
	<87wqx693bt.fsf@HIDDEN>
X-Spook: rail gun rs9512c kilderkin JSOFC3IP Delta Force secure
X-Ran: "n/^IG24-|y15]>%`y"gxLQQ7]>EjxmIp>|=5$IE$oqt:fkVTOyIVu"_?Hfn,)eTRkp[aG
X-Hue: red
X-Attribution: GM
Date: Wed, 28 Nov 2012 15:26:33 -0500
In-Reply-To: <87wqx693bt.fsf@HIDDEN> (Oleksandr Gavenko's
	message of "Tue, 27 Nov 2012 22:51:50 +0200")
Message-ID: <xz7gp55v9i.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.6 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.6 (----)

Oleksandr Gavenko wrote:

> **PS** Why Emacs uses -r R1 -r R2 for HG? "-c" - do job more better as it
>        actually compares to its first parent.

Because the Emacs command is a specific instance of the general question
"find the difference between revisions R1 and R2". Naively, I expect
these two to be exactly equivalent when R2 = R1 + 1. `bzr help diff'
says they are, I didn't check.




Message sent to bug-gnu-emacs@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#13004: 24.2; vc-diff from vc-log doesn't show diff before renames (for Mercurial backend).
Resent-From: Glenn Morris <rgm@HIDDEN>
Original-Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Resent-CC: bug-gnu-emacs@HIDDEN
Resent-Date: Wed, 28 Nov 2012 20:32:01 +0000
Resent-Message-ID: <handler.13004.B13004.135413467328513 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 13004
X-GNU-PR-Package: emacs
X-GNU-PR-Keywords: 
To: Oleksandr Gavenko <gavenkoa@HIDDEN>
Cc: 13004 <at> debbugs.gnu.org
Received: via spool by 13004-submit <at> debbugs.gnu.org id=B13004.135413467328513
          (code B ref 13004); Wed, 28 Nov 2012 20:32:01 +0000
Received: (at 13004) by debbugs.gnu.org; 28 Nov 2012 20:31:13 +0000
Received: from localhost ([127.0.0.1]:44072 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TdoHo-0007Pp-PM
	for submit <at> debbugs.gnu.org; Wed, 28 Nov 2012 15:31:13 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:45962)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1TdoHn-0007Pj-M6
	for 13004 <at> debbugs.gnu.org; Wed, 28 Nov 2012 15:31:12 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>)
	id 1TdoFv-0007Dg-0m; Wed, 28 Nov 2012 15:29:15 -0500
From: Glenn Morris <rgm@HIDDEN>
References: <87txsa92ve.fsf@HIDDEN>
X-Spook: digicash top secret Iran Marxist weapons of mass
X-Ran: m^FYYpHt0J6iWKPx:iGaZ}au7!O;cd)S7$b^9AQlX5W05ORaAGJAb]y{8[`+`4\|Z#Jg'A
X-Hue: white
X-Attribution: GM
Date: Wed, 28 Nov 2012 15:29:14 -0500
In-Reply-To: <87txsa92ve.fsf@HIDDEN> (Oleksandr Gavenko's
	message of "Tue, 27 Nov 2012 23:01:41 +0200")
Message-ID: <7e38zt5v51.fsf@HIDDEN>
User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Score: -4.6 (----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -5.4 (-----)

Oleksandr Gavenko wrote:

> Additional info.

(Seems more like a different bug report to me.)

> Next go to previous version by "a" (vc-annotate-revision-previous-to-line) on
> second line:
>
>   0 Tue Nov 27 21:12:00 2012 +0200  README: xxx
>   1 Tue Nov 27 21:12:23 2012 +0200  README: yyy          (*1*)
>   3 Tue Nov 27 21:13:15 2012 +0200 INSTALL: zzz
>
> So you move to:
>
>   0 Tue Nov 27 21:12:00 2012 +0200 README: xxx           (*2*)

Emacs is now looking at revision 0 of file "README".

> If you try move forward by "w" (vc-annotate-working-revision) Emacs print
> error:
>
>   vc-annotate-warp-revision: Invalid argument to vc-annotate-warp-revision

Ie, you try to jump to the working revision of file "README".
But file README has no working revision, hence the error.

I have no idea what, if anything, to do about that.




Message received at control <at> debbugs.gnu.org:


Received: (at control) by debbugs.gnu.org; 28 Nov 2012 20:31:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Nov 28 15:31:32 2012
Received: from localhost ([127.0.0.1]:44075 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TdoI7-0007QN-KE
	for submit <at> debbugs.gnu.org; Wed, 28 Nov 2012 15:31:32 -0500
Received: from fencepost.gnu.org ([208.118.235.10]:45969)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <rgm@HIDDEN>) id 1TdoI5-0007QC-HV
	for control <at> debbugs.gnu.org; Wed, 28 Nov 2012 15:31:29 -0500
Received: from rgm by fencepost.gnu.org with local (Exim 4.71)
	(envelope-from <rgm@HIDDEN>) id 1TdoGC-0007UR-Kq
	for control <at> debbugs.gnu.org; Wed, 28 Nov 2012 15:29:33 -0500
Date: Wed, 28 Nov 2012 15:29:32 -0500
Message-Id: <E1TdoGC-0007UR-Kq@HIDDEN>
Subject: control message for bug 13004
To: <control <at> debbugs.gnu.org>
X-Mailer: mail (GNU Mailutils 2.1)
From: Glenn Morris <rgm@HIDDEN>
X-Spam-Score: -4.6 (----)
X-Debbugs-Envelope-To: control
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -4.6 (----)

severity 13004 minor





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.