2
# Copyright (C) 2004 Aaron Bentley
4
# See the file "COPYING" for further information about
5
# the copyright and warranty status of this work.
14
for source in $sourcever; do
15
echo "* merge source $sourcetype: $source"
16
tla star-merge $source;
18
tla log-for-merge >> $(tla make-log)
19
echo "Problems encountered during merge (see aba conflicts)" >&2
22
if ! tla changes > /dev/null; then
26
echo "* tree is already up to date with $source"
32
echo ' merge : star-merge with =partner-versions, then edit log'
37
performs an automated star-merge
38
usage: $abaname merge [version]
40
Selects the source version from (in order of selection):
41
1. The supplied version
42
2. The contents of =partner-versions in {arch}
43
3. The contents of ++merge-source in the project tree root
44
4. The tag-source of the project tree, as determined from the patch-logs
46
It will not perform the merge if there are uncommitted changes in the tree.
48
If there are conflicts, it will warn that problems were encountered.
50
Otherwise, if the merge changed the tree, it will do $abaname emlog to produce
53
If the merge was successfully applied, but did not change the tree, it will say so.
55
++merge-source or =partner-versions may contain multiple merge sources,
56
separated by whitespace. In this case, each source will be tried in order,
57
stopping at the first merge that actually changes the tree.
66
# arch-tag: merge by Aaron Bentley (11:15 Jan 26, 2004)