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)
14
echo "$(basename $0): not in project tree ($(pwd))"
19
# one-liner description for aba help
22
aba_desc $(basename $0) "prints the name of the tag-source of the tree"
25
# short help for aba command -h, --help
29
Prints the name of the revision this tree was tagged from
30
usage: $abaname $(basename $0)
32
This command uses data in the patch-logs, and outputs the full revision
33
name of the tag source revision. If no tag source can be found, outputs
34
nothing, and exits with status 1.
36
It should be suitable for scripting, e.g. merges.
41
# extended help for aba command -H or aba help command
45
If the patch logs have been mutilated, this command may return bad data.
51
# arch-tag: tree-source by Aaron Bentley (11:33 Mar 09 2004)