mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2026-01-30 10:09:03 +01:00
test: skip tests with broken hg-git compatibility
https://bitbucket.org/durin42/hg-git/issue/115/ Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
@@ -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 &&
|
||||
|
||||
Reference in New Issue
Block a user