[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: why does tla undo perform a tree-lint?
From: |
Zenaan Harkness |
Subject: |
Re: [Gnu-arch-users] Re: why does tla undo perform a tree-lint? |
Date: |
Tue, 19 Oct 2004 09:22:41 +1000 |
On Tue, 2004-10-19 at 08:27, Matthieu Moy wrote:
> Zenaan Harkness <address@hidden> writes:
>
> > I imagine "tar cf tmp.tar *.rej; tla add tmp.tar; tla undo".
> >
> > Would that do what people want?
>
> A bit dangerous because "tla redo" would result in a source tmp.tar,
> which may end its way in the archive :-(
Sorry, I assumed the converse would be obvious. As in:
tla redo; tla rm tmp.tar; mv tmp.tar ,tmp.tar; tar xf tmp.tar
With that last step renaming anything inside tmp.tar to .rej.rej (etc)
if there are conflicts when untarring, so as not to lose _anything_. You
might use a unique id (timestamp) in the filename as an alternative - I
don't know what people would consider sane sorry...
As usual, someone would need to show us the code...