auctex-devel
[Top][All Lists]
Advanced

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

Re: Dependency on tex-buf.el


From: David Kastrup
Subject: Re: Dependency on tex-buf.el
Date: Sat, 19 Mar 2022 19:33:40 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Uwe Brauer <oub@mat.ucm.es> writes:

>> Uwe Brauer <oub@mat.ucm.es> writes:
>
>> Almost all of them in this regard because they _track_ the operations
>> (like renaming a file) done while Git only records directory snapshots
>> and the commit graph.  But that also means that you need to be careful
>> how you rearrange things in other version control systems so that they
>> can track the ancestry of material, and moving material between files or
>> splitting or merging files generally leads to a loss of significant
>> amounts of information.
> Very interesting!
>
> Although that gets a bit off topic: 
>
> I do a lot of moving and or renaming in my repositories.
>
> Now if I use vc-annotate in either git or hg repositories, the changes
> are displayed correctly, however what does not work is
> vc-annotate-prev-revision for a file that I have renamed.

In Git it should work (if you _combine_ renaming a file with changing
its contents in a single commit, git blame may need additional options
to track this).  In Hg it likely depends on whether you renamed using
the version control system or outside of it.

> Maybe this is impossible.

Unlikely...

-- 
David Kastrup



reply via email to

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