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
partnerfile=`tla tree-root 2> /dev/null`/{arch}/=partner-versions
16
elif [ -f $partnerfile ]; then
17
versions=$(cat $partnerfile)
19
versions=$(tla parse-package-name --package-version $(aba_tree_source))
22
microbranch=$(tla tree-version)
23
for version in $versions; do
24
echo "* replaying missing revisions from $version"
25
for rev in $(tla missing -f $version); do
26
if tla cat-archive-log $rev | grep "Microbranch: $microbranch" > /dev/null; then
27
if ! tla replay $rev; then
35
# one-liner description for aba help
38
aba_desc $(basename $0) "Replays revisions for a microbranch"
41
# short help for aba command -h, --help
45
Replays revisions for a microbranch
46
usage: $abaname $(basename $0) [VERSION]
48
Applies all missing revisions from SOURCE-VERSIONS whose Microbranch headers
49
match the tree-revision.
51
The following are candidates for SOURCE-VERSIONS:
52
1. the specified VERSION, if any
53
2. the versions specified in {arch]/=partner-versions if it exists
54
3. the tree tag-source, if any
58
# extended help for aba command -H or aba help command
63
replay-micro will abort if applying a changeset produces conflicts. It will
64
refuse to start if the project tree already contains changes.
69
# arch-tag: replay-micro by Aaron Bentley (18:16 May 27 2004)