[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] Re: tla update edge case
From: |
Miles Bader |
Subject: |
[Gnu-arch-users] Re: tla update edge case |
Date: |
Thu, 10 Jun 2004 12:33:24 +0900 |
Aaron Bentley <address@hidden> writes:
> Well, since what I have is foo--bar--1--base-0, I expected it to do:
>
> tla undo foo--bar--1--base-0
> tla apply-delta foo--bar--1--base-0 foo--bar--0--patch-53
> tla redo
>
> When I use update, the specified version and the tree-version are always
> the same, so that's how I extrapolated.
"update VERS" does:
tla undo VERS
tla apply-delta `tla logs -f VERS | tail -1` `tla revisions -f VERS`
tla redo
IOW, it updates the current tree with respect to VERS `underneath' any
changes between VERS and the current tree. This formulation is
_incredibly_ useful (when you're dealing with a fork of VERS, this is
almost always what you want to do), and I find it `just makes sense.'
-Miles
--
`There are more things in heaven and earth, Horatio,
Than are dreamt of in your philosophy.'