Mercurial > hg
diff tests/test-rebase-cache @ 11198:b345b1cc124f
rebase: use helpers.sh in tests
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 19 May 2010 20:20:12 -0500 |
parents | bae9bb09166b |
children | 2313dc4d9817 |
line wrap: on
line diff
--- a/tests/test-rebase-cache Wed May 19 19:46:39 2010 -0500 +++ b/tests/test-rebase-cache Wed May 19 20:20:12 2010 -0500 @@ -1,5 +1,7 @@ #!/bin/sh +source $TESTDIR/helpers.sh + createrepo() { rm -rf repo hg init repo @@ -52,7 +54,7 @@ echo echo '% Rebase part of branch2 (5-6) onto branch3 (8)' -hg --config extensions.hgext.rebase= rebase --detach -s 5 -d 8 2>&1 | sed 's/\(saving bundle to \).*/\1/' +hg --config extensions.hgext.rebase= rebase --detach -s 5 -d 8 | hidebackup echo echo '% Branches' @@ -70,7 +72,7 @@ createrepo > /dev/null 2>&1 hg --config extensions.hgext.graphlog= glog --template '{rev}:{node|short} {desc} branch: {branches}\n' -hg --config extensions.hgext.rebase= rebase --detach -s 8 -d 6 2>&1 | sed 's/\(saving bundle to \).*/\1/' +hg --config extensions.hgext.rebase= rebase --detach -s 8 -d 6 | hidebackup echo echo '% Branches' @@ -89,7 +91,7 @@ createrepo > /dev/null 2>&1 hg --config extensions.hgext.graphlog= glog --template '{rev}:{node|short} {desc} branch: {branches}\n' -hg --config extensions.hgext.rebase= rebase --detach -s 7 -d 6 2>&1 | sed 's/\(saving bundle to \).*/\1/' +hg --config extensions.hgext.rebase= rebase --detach -s 7 -d 6 | hidebackup echo echo '% Branches'