2
# Copyright (C) 2004 Robin Green
4
# See the file "COPYING" for further information about
5
# the copyright and warranty status of this work.
10
# I think it's a good idea to avoid accidentally blowing away wanted changes
13
# aba_tree_revision doesn't require an archive access
14
latest_rev=$(aba_tree_revision)
15
latest_ver=$(tla tree-version)
17
aba_try tla undo -n $1
18
aba_try tla sync-tree $latest_rev
19
aba_try tla set-tree-version $latest_ver
23
echo ' revert : reverts tree to the specified revision'
28
reverts tree to the specified revision
29
usage: $abaname $(basename $0) [version/revision]
31
This reverts to the specified revision or version while retaining the
32
patch-logs, so that you can successfully run tla commit afterwards.
42
# arch-tag: revert by Robin Green (11:14 Mar 26, 2004)