[Top][All Lists]

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

Re: [Gnu-arch-users] Re: [BUG] feature plan -- Selected inventory

From: Stefan Monnier
Subject: Re: [Gnu-arch-users] Re: [BUG] feature plan -- Selected inventory
Date: 28 May 2004 17:55:25 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

>>>> There is no fundamental technical reason why Arch needs a full inventory
>>> I would say that file renaming/move detection seems a good fundamental
>>> technical reason for this isn't it ?
>> Huh?
>> Why would it need a full inventory to detect moves when I explicitly tell
>> it "show me the changes on files FOO1 and FOO2" (when both FOO1 and FOO2
>> are at the same place as ever) ?

> Right.  Sometimes files will move from a selected directory to an unselected
> one, and that will be treated as deletion.  That shouldn't be hard to deal
> with.  Sometimes they'll move from unselected to selected, and that would be
> creation (of a file that already exists).  Ugly.

It's trivial to see whether the addition is of a file that already exists:
check the list of IDs in the ,,index or ,,index-by-name file.

But it's irrelevant in the above situation where the user just wants to
see the changes done in FOO1 and FOO2 and neither file ha been moved.


reply via email to

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