From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.bugs Subject: bug#6326: 23.1.95; `vc-diff' sometimes reports wrong diff status Date: Wed, 02 Jun 2010 05:42:27 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1275472682 27548 80.91.229.12 (2 Jun 2010 09:58:02 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 2 Jun 2010 09:58:02 +0000 (UTC) Cc: 6326@debbugs.gnu.org To: Markus Triska Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jun 02 11:58:00 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OJkhy-00006a-B8 for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Jun 2010 11:57:58 +0200 Original-Received: from localhost ([127.0.0.1]:60287 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJkhy-0005fS-0O for geb-bug-gnu-emacs@m.gmane.org; Wed, 02 Jun 2010 05:57:58 -0400 Original-Received: from [140.186.70.92] (port=36915 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJkhm-0005fN-UJ for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2010 05:57:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJkhl-0004fh-Ly for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2010 05:57:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40297) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJkhl-0004fb-JS for bug-gnu-emacs@gnu.org; Wed, 02 Jun 2010 05:57:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OJkTW-0000fq-2t; Wed, 02 Jun 2010 05:43:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dan Nicolaescu Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 02 Jun 2010 09:43:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6326 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6326-submit@debbugs.gnu.org id=B6326.12754717522581 (code B ref 6326); Wed, 02 Jun 2010 09:43:02 +0000 Original-Received: (at 6326) by debbugs.gnu.org; 2 Jun 2010 09:42:32 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJkT1-0000fa-Qm for submit@debbugs.gnu.org; Wed, 02 Jun 2010 05:42:32 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJkT0-0000fU-0S for 6326@debbugs.gnu.org; Wed, 02 Jun 2010 05:42:30 -0400 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1OJkSx-0007ov-CG; Wed, 02 Jun 2010 05:42:27 -0400 In-Reply-To: (Markus Triska's message of "Wed\, 02 Jun 2010 05\:11\:02 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 02 Jun 2010 05:43:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:37484 Archived-At: Markus Triska writes: > When I open (in emacs -Q) a file under "git" version control and: > > 1) view its log with: C-x v l > 2) open any previous revision, for example: n n n f > 3) save the previous revision under a different name: > C-x C-w difrev.txt RET > 4) on difrev.txt, run `vc-diff' with: C-x v = > > it unexpectedly says: "No changes between working revision and > workfile". It SHOULD say that the file is NOT under version control. > Also other operations like C-x v l should say this but currently don't > (C-x v l instead unexpectedly displays the log of the original file). This because `vc-parent-file' still points to the original file. Maybe `vc-file-clearprops' (called from `write-file') should also reset `vc-parent-file'.