emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: make vc-annotate work through copies and renames


From: Stefan Monnier
Subject: Re: make vc-annotate work through copies and renames
Date: Wed, 14 Oct 2009 23:10:49 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux)

> vc-annotate.el assumes that the file name is always the same.  This is
> not true when showing copies/renames.

This varies a lot between backends.  E.g. IIRC in Svn and Arch, the
file-name is basically ignored (replaced by some notion of file identity
that is preserved by renaming), so in your example the f.csh file is the
only name that would appear and revision "14d0ca93" of that file simply
had the name "t.csh" at that time, but you don't need to know about it
to get the `annotate' output, or the `diff' output or ...

So providing support for it in the generic part of the code may turn out
to be trickier than your patch suggests.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]