contrib/merge-test-compat.sh
changeset 3138 8a390749ff67
parent 3133 13a4c35f7a0b
child 5080 6db9e2350948
equal deleted inserted replaced
3122:c80ba40d4c87 3138:8a390749ff67
       
     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