From 29a0d8a0e308c50e4da8cf4e8fe3348d420818ab Mon Sep 17 00:00:00 2001 From: Felipe Contreras Date: Mon, 2 Jun 2014 18:11:27 -0500 Subject: [PATCH] test: skip tests with broken hg-git compatibility https://bitbucket.org/durin42/hg-git/issue/115/ Signed-off-by: Felipe Contreras --- test/hg-git.t | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/test/hg-git.t b/test/hg-git.t index ddc73b0..a216d5c 100755 --- a/test/hg-git.t +++ b/test/hg-git.t @@ -34,6 +34,15 @@ else test_done fi +hg_version=$(python2 -c 'from mercurial import util; print util.version()') + +case $hg_version in +3.0*+*) + skip_all='skipping remote-hg tests; unsuported version of hg by hg-git' + test_done + ;; +esac + # clone to a git repo with git git_clone_git () { git clone -q "hg::$1" $2 &&