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

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

Re: [Gnu-arch-users] Re: New aba command: revert


From: David Allouche
Subject: Re: [Gnu-arch-users] Re: New aba command: revert
Date: Fri, 26 Mar 2004 20:00:28 +0100
User-agent: Mutt/1.5.5.1+cvs20040105i

On Fri, Mar 26, 2004 at 03:50:06PM +0000, Stig Brautaset wrote:
> It sounds equivalent to
> 
>  $ tla undo REVISION
>  $ tla sync-tree `tla tree-version`
> 
> to me. The sync-tree is needed to bring back in the missing changelogs
> that would otherwise make tla refuse to commit.

Which of course is wrong if the working tree is not up-to-date.

But
  
  $ rvsn=`tla logs --full --reverse | head -1`
  $ tla undo -n REVISION
  $ tla sync-tree "$rvsn"

would be correct for that case, but would be incorrect if the working
tree has changes.

-- 
                                                            -- ddaa




reply via email to

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