[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] Re: How to 'update' an updated archive?
From: |
Stig Brautaset |
Subject: |
[Gnu-arch-users] Re: How to 'update' an updated archive? |
Date: |
Sat, 1 May 2004 08:35:50 +0100 |
User-agent: |
Mutt/1.3.28i |
On May 01 2004, Amit wrote:
> Hi all,
>
> This is a very silly question, but I could find a solution to this problem:
>
> I have an archive that has some files in it. I delete one file. I now want
> it back.
>
> "cvs update" would get the file for me; however, "tla update" just says that
> the tree is up-to-date (which it is). "tla changes" shows the file is
> 'D' (deleted). How do I get this file back?
$ touch $file
$ tla file-diffs $file | patch -Rp1
or
$ cp $(tla file-find $file) .
or, if you have no other changes in the directory:
$ tla undo [-n]
Stig
--
brautaset.org