[Top][All Lists]

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

Re: [Gnu-arch-users] recovery from accidental file deletion

From: Robert Collins
Subject: Re: [Gnu-arch-users] recovery from accidental file deletion
Date: Tue, 11 Nov 2003 20:17:02 +1100

On Tue, 2003-11-11 at 19:42, Jan Hudec wrote:

> That looks like a bug. Well, more probably a deficiency in the
> implementation. file-find first determines tag for the file (by the name
> given), and then goes to the pristine tree, gets it's inventory and
> fetches the file. Since the file does not exist, the first step fails.
> Extending that command should be considered. But I am not really sure
> what would be the RightWay to do it. (It should be kept that file-find
> and file-diffs are implemented by the same function).

The RightWay? Well, IMO if the file doesn't exist, look up the file in
the pristine tree by name, and if it exists check for a tag conflict in
inventory before considering it 'found'.

GPG key available at: <>.

Attachment: signature.asc
Description: This is a digitally signed message part

reply via email to

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