branch | mercurial-4.3 |
changeset 3166 | e1a230cc4527 |
parent 3133 | 13a4c35f7a0b |
child 5080 | 6db9e2350948 |
3127:cd90da787a44 | 3166:e1a230cc4527 |
---|---|
1 #!/bin/bash |
|
2 set -euox pipefail |
|
3 |
|
4 unset GREP_OPTIONS |
|
5 NOTOPIC="--config experimental.topic-mode=ignore" |
|
6 |
|
7 compatbranches=`hg branches --quiet | grep 'mercurial-' | grep -v ':' | sort -n --reverse` |
|
8 prev='stable' |
|
9 for branch in $compatbranches; do |
|
10 hg up $branch |
|
11 hg merge $prev |
|
12 hg commit -m "test-compat: merge $prev into $branch" |
|
13 prev=$branch |
|
14 done |
|
15 |