equal
deleted
inserted
replaced
1 #!/bin/bash |
1 #!/bin/bash |
2 set -euox pipefail |
2 set -euox pipefail |
3 |
3 |
4 unset GREP_OPTIONS |
4 unset GREP_OPTIONS |
5 NOTOPIC="--config experimental.topic-mode=ignore" |
|
6 |
5 |
7 compatbranches=`hg branches --quiet | grep 'mercurial-' | grep -v ':' | sort -n --reverse` |
6 compatbranches=$(hg branches --quiet | grep 'mercurial-' | grep -v ':' | sort -n --reverse) |
8 prev='stable' |
7 prev='stable' |
9 for branch in $compatbranches; do |
8 for branch in $compatbranches; do |
10 hg up $branch |
9 hg up "$branch" |
11 hg merge $prev |
10 hg merge "$prev" |
12 hg commit -m "test-compat: merge $prev into $branch" |
11 hg commit -m "test-compat: merge $prev into $branch" |
13 prev=$branch |
12 prev=$branch |
14 done |
13 done |
15 |
|