equal
deleted
inserted
replaced
26 $ hg init main |
26 $ hg init main |
27 |
27 |
28 $ hg -R main debugbuilddag '.+7' |
28 $ hg -R main debugbuilddag '.+7' |
29 |
29 |
30 $ for node in `hg -R main log -T '{node}\n'`; do |
30 $ for node in `hg -R main log -T '{node}\n'`; do |
31 > echo -n $node | grep -o . | sort |tr -d "\n" > ancfile |
31 > printf $node | grep -o . | sort |tr -d "\n" > ancfile |
32 > anc=`cat ancfile` |
32 > anc=`cat ancfile` |
33 > rm ancfile |
33 > rm ancfile |
34 > echo "marking $anc as predecessors of $node" |
34 > echo "marking $anc as predecessors of $node" |
35 > hg -R main debugobsolete $anc $node |
35 > hg -R main debugobsolete $anc $node |
36 > done |
36 > done |