GNU bug report logs - #6487
using vc-annotate-find-revision-at-line for renamed/removed files

Previous Next

Package: emacs;

Reported by: Dan Nicolaescu <dann <at> gnu.org>

Date: Mon, 21 Jun 2010 20:42:02 UTC

Severity: normal

Done: Dan Nicolaescu <dann <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Dan Nicolaescu <dann <at> gnu.org>
Subject: bug#6487: closed (Re: bug#6487: using vc-annotate-find-revision-at-line
 for renamed/removed files)
Date: Thu, 24 Jun 2010 18:32:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#6487: using vc-annotate-find-revision-at-line for renamed/removed files

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 6487 <at> debbugs.gnu.org.

-- 
6487: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=6487
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Dan Nicolaescu <dann <at> gnu.org>
To: 6487-done <at> debbugs.gnu.org
Subject: Re: bug#6487: using vc-annotate-find-revision-at-line for
	renamed/removed files
Date: Thu, 24 Jun 2010 14:31:15 -0400
Fixed in emacs-23 branch.

[Message part 3 (message/rfc822, inline)]
From: Dan Nicolaescu <dann <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: using vc-annotate-find-revision-at-line for renamed/removed files
Date: Mon, 21 Jun 2010 16:41:29 -0400
vc-annotate for git and mercurial shows the original file name for a
change, even if the file has been renamed meanwhile.
Using `vc-annotate-find-revision-at-line' on such a line in the annotate does not work

vc-annotate-find-revision-at-line calls vc-find-revision for a file
that does not exist anymore.
vc-find-revision in turn does a:
(vc-call find-revision file revision outbuf)
but given that the file does not exist anymore, no VC backend claims
the file, so the vc-call fails

vc-annotate-find-revision-at-line knows what VC backend it needs to
call, so it could pass it as an optional argument to vc-find-revision.



This bug report was last modified 15 years and 23 days ago.

Previous Next


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