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)
12
rev_ver=$(aba_revision_or_version $@)
13
archive=$(tla parse-package-name -a $rev_ver)
14
pversion=$(tla parse-package-name --package-version $rev_ver)
15
if [ -n $(tla archives --names $archive-SOURCE) ]; then
16
tla archive-mirror $archive-SOURCE $archive $pversion
21
# one-liner description for aba help
24
aba_desc $(basename $0) "Update from a mirror"
27
# short help for aba command -h, --help
32
usage: $abaname $(basename $0) [revision/version]
34
If the archive for the version is a local mirror, update it before running tla
35
update, using the version as a limit. If unspecified, archive defaults to
36
default archive. If revision or version unspecified, defaults to tree version.
42
# extended help for aba command -H or aba help command
50
# arch-tag: mupdate by Aaron Bentley (09:38 Apr 27 2004)