tests/test-discovery-obshashrange-cache.t
branchmercurial-4.6
changeset 4360 522abf1d70b7
parent 4267 18ed2a237ab5
child 4840 62b60fc1983d
equal deleted inserted replaced
4313:4a740f9eee49 4360:522abf1d70b7
    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