gnu-arch-users
[Top][All Lists]
Advanced

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

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


From: Bruce Stephens
Subject: Re: [Gnu-arch-users] recovery from accidental file deletion
Date: Thu, 06 Nov 2003 20:59:43 +0000
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

address@hidden writes:

> On Thu, Nov 06, 2003 at 03:03:17PM -0500, Mirian Crzig Lennox wrote:
>> Just now I've managed to accidentally deleted my working copy of a
>> file which was part of an arch project; fortunately it had no
>> uncommitted changes.  Is there any simple way to recover just that
>> file from Arch without disturbing my other working files (since
>> several of them have modifications I don't want to lose)?  With CVS, I
>> would have done a "cvs update", and cvs would notice the missing file
>> and replace it.  I tried "tla update" in hope of something similar,
>> but it wouldn't bite.
>> 
>> I ended up checking out the entire revision again (to a scratch
>> directory which I afterwards removed), in order to get at the lost
>> file.  Would there have been a better way to accomplish this?

[...]

> I posted the same thing as a feature request to the bugs list; but have
> not heard anything since.

What's wrong with:

       % cp $(tla file-find <filename>) .

(Presuming you're in the directory containing the desired file.)





reply via email to

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