Skip to content
Snippets Groups Projects
Commit 819e46cf authored by David M. Carr's avatar David M. Carr
Browse files

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.
parent 52461f71
No related branches found
No related tags found
No related merge requests found
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment