2
## Copyright (C) 2004 Aaron Bentley
4
## See the file "COPYING" for further information about
5
## the copyright and warranty status of this work.
9
# executes the command ("$@" are the arguments after the command name)
13
if [ $? -ne 0 ]; then aba_panic "Can't find tree root!"; fi
15
find -name '*.rej' -print0 |xargs -0r rm
16
find -name '*.orig' -print0 |xargs -0r rm
17
tla tree-lint -m|xargs -r rm
21
# one-liner description for aba help
24
aba_desc $(basename $0) "Undo that almost always succeeds"
27
# short help for aba command -h, --help
31
Undo that almost always succeeds
32
usage: $abaname $(basename $0) [OPTIONS]
34
This undo will remove all .rej, .orig, and non-matching .id files before
35
undoing. Its intended use is for undoing merges that produced too many
38
It takes the same parameters as 'undo'
42
# extended help for aba command -H or aba help command
50
# arch-tag: hardundo by Aaron Bentley (10:42 May 12 2004)