Mercurial > hg > hg-git
changeset 582:819e46cffc84
tests: remove mercurial version check from test-pull-after-strip.t
This test was being skipped in Mercurial < 1.5. We don't support Mercurial
that old any more, so there isn't a need to worry about it in the tests.
author | David M. Carr <david@carrclan.us> |
---|---|
date | Sat, 03 Nov 2012 19:20:39 -0400 |
parents | 52461f71a782 |
children | d92439a50837 |
files | tests/test-pull-after-strip.t |
diffstat | 1 files changed, 0 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-pull-after-strip.t +++ b/tests/test-pull-after-strip.t @@ -1,17 +1,6 @@ Load commonly used test logic $ . "$TESTDIR/testutil" -this test is busted on hg < 1.5. I'm not sure how to fix it. - $ cat > tmp.py <<EOF - > import sys - > v = sys.stdin.read().strip()[:-1] - > if v[1] == '.' and ((int(v[0]) == 1 and int(v[2]) > 4) or int(v[0]) > 1): - > sys.exit(0) - > sys.exit(1) - > EOF - - $ hg version | grep version | sed 's/.*(version //' | python tmp.py || exit 80 - $ git init gitrepo Initialized empty Git repository in $TESTTMP/gitrepo/.git/ $ cd gitrepo