From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.bugs Subject: bug#13004: 24.2; vc-diff from vc-log doesn't show diff before renames (for Mercurial backend). Date: Tue, 27 Nov 2012 21:27:42 +0200 Organization: Oleksandr Gavenko , http://gavenkoa.users.sf.net Message-ID: <87haoau9qp.fsf@gavenkoa.example.com> References: <87boekdxqj.fsf@gavenkoa.example.com> <19fw3w597r.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1354044497 10222 80.91.229.3 (27 Nov 2012 19:28:17 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Nov 2012 19:28:17 +0000 (UTC) Cc: 13004@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 27 20:28:29 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TdQpY-0004yc-Pl for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Nov 2012 20:28:29 +0100 Original-Received: from localhost ([::1]:38799 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdQpN-00036I-Na for geb-bug-gnu-emacs@m.gmane.org; Tue, 27 Nov 2012 14:28:17 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:49722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdQpK-00035s-AB for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 14:28:15 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TdQpI-000220-Pc for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 14:28:14 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60093) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TdQpI-00021t-Ln for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 14:28:12 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TdQr4-0004Rh-EM for bug-gnu-emacs@gnu.org; Tue, 27 Nov 2012 14:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Oleksandr Gavenko Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 27 Nov 2012 19:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13004 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 13004-submit@debbugs.gnu.org id=B13004.135404458117038 (code B ref 13004); Tue, 27 Nov 2012 19:30:02 +0000 Original-Received: (at 13004) by debbugs.gnu.org; 27 Nov 2012 19:29:41 +0000 Original-Received: from localhost ([127.0.0.1]:42111 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdQqi-0004Ql-UP for submit@debbugs.gnu.org; Tue, 27 Nov 2012 14:29:41 -0500 Original-Received: from mail-ee0-f44.google.com ([74.125.83.44]:51342) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TdQqe-0004Qb-Cr for 13004@debbugs.gnu.org; Tue, 27 Nov 2012 14:29:39 -0500 Original-Received: by mail-ee0-f44.google.com with SMTP id b47so7837121eek.3 for <13004@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== Original-Received: by 10.14.223.200 with SMTP id v48mr61434635eep.24.1354044465843; Tue, 27 Nov 2012 11:27:45 -0800 (PST) Original-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) In-Reply-To: (Glenn Morris's message of "Mon, 26 Nov 2012 16:56:37 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:67537 Archived-At: 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!