[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Monotone-devel] Can Monotone not diff across file renames?
From: |
Stephen Leake |
Subject: |
Re: [Monotone-devel] Can Monotone not diff across file renames? |
Date: |
Wed, 15 Oct 2008 04:45:01 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.2 (windows-nt) |
"Derek Scherger" <address@hidden> writes:
> On Tue, Oct 14, 2008 at 10:56 PM, Stephen Leake <
> address@hidden> wrote:
>
>> 'mtn automate get_corresponding_path' takes the name in the current
>> rev and gives you the name in some parent rev.
>
>
> ... gives you the name in some *specified* parent rev, meaning, take this
> name, look it up in that rev, and get the node id. At least that's how I
> understand it.
Yes.
>> You can use that before invoking this log, or log could do it
>> automatically.
>>
>> I would argue log should do that automatically.
>
>
> Any given name can map to many different node ids through time. Should log
> include *all* of them? It might take some time to load every historical
> roster and check to see if the specified name maps to a known node there.
'get_corresponding_path' is only needed when a specified starting rev
is given with a file name restriction.
'log' does track name changes while building the log; this is just
adjusting that process to start in the right place.
--
-- Stephe