# HG changeset patch # User David M. Carr # Date 1351984839 14400 # Node ID 819e46cffc8417bb521eaf355c1757ec1728d995 # Parent 52461f71a7829a50ad63ff2cca3351f54375a490 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. diff --git a/tests/test-pull-after-strip.t b/tests/test-pull-after-strip.t --- 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 < 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