##// END OF EJS Templates
tests: simplify and clarify test-obsolete-bundle-strip.t a little
Martin von Zweigbergk -
r32681:d677bd21 default
parent child Browse files
Show More
@@ -76,8 +76,8 b' obsmarkers. It also check the obsmarkers'
76 > echo '### Exclusive markers ###'
76 > echo '### Exclusive markers ###'
77 > cat "${exclufile}"
77 > cat "${exclufile}"
78 > # if the matched revs do not have children, we also check the result of strip
78 > # if the matched revs do not have children, we also check the result of strip
79 > orphan=`hg log --hidden -T '.\n' --rev "(not (${revs})) and ((${revs})::)" | wc -l | sed -e 's/ //g'`
79 > children=`hg log --hidden --rev "((${revs})::) - (${revs})"`
80 > if [ $orphan -eq 0 ];
80 > if [ -z "$children" ];
81 > then
81 > then
82 > printf "# stripping: "
82 > printf "# stripping: "
83 > prestripfile="${prefix}-pre-strip.txt"
83 > prestripfile="${prefix}-pre-strip.txt"
General Comments 0
You need to be logged in to leave comments. Login now