Mercurial > hg > hg-git
comparison tests/test-incoming @ 410:d89d4e93bc46
test-incoming: only run on hg 1.7.x and newer
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 31 May 2011 19:36:53 -0500 |
parents | 2dcfd4bbfc1a |
children | ac36f1a05672 |
comparison
equal
deleted
inserted
replaced
409:2e773ed95066 | 410:d89d4e93bc46 |
---|---|
3 # Fails for some reason, need to investigate | 3 # Fails for some reason, need to investigate |
4 # "$TESTDIR/hghave" git || exit 80 | 4 # "$TESTDIR/hghave" git || exit 80 |
5 | 5 |
6 # bail if the user does not have dulwich | 6 # bail if the user does not have dulwich |
7 python -c 'import dulwich, dulwich.repo' || exit 80 | 7 python -c 'import dulwich, dulwich.repo' || exit 80 |
8 | |
9 # This test only works on hg 1.7 and later | |
10 python -c 'from mercurial import util ; assert util.version() > "1.7"' || exit 80 | |
8 | 11 |
9 # bail early if the user is already running git-daemon | 12 # bail early if the user is already running git-daemon |
10 echo hi | nc localhost 9418 2>/dev/null && exit 80 | 13 echo hi | nc localhost 9418 2>/dev/null && exit 80 |
11 | 14 |
12 echo "[extensions]" >> $HGRCPATH | 15 echo "[extensions]" >> $HGRCPATH |