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
echo "Please enter a target version"
20
old_version=$(aba_fqversion $(aba_tree_source))
22
delta_to=$(tla logs -f -r | head -n 1)
23
delta_from=$(tla logs -f -r $old_version| head -n 1)
24
tla tag -S --no-cacherev $old_version $new_version
25
aba_change_version $new_version
26
tla apply-delta $delta_from $delta_to
29
# one-liner description for aba help
32
aba_desc $(basename $0) "Create a new version with a different tree-source"
35
# short help for aba command -h, --help
39
Create a new version with a different tree-source
40
usage: $abaname $(basename $0) TARGET-VERSION [BASIS]
42
If the basis is supplied, it may be a version or revision if not supplied, the
47
# extended help for aba command -H or aba help command
55
# arch-tag: rebase by Aaron Bentley (23:06 Jun 05 2004)