mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2025-11-02 17:45:48 +01:00
test: add compatibility with Debian hg-git package
Debian has named the hggit python module as hgext.git. Signed-off-by: Paul Wise <pabs3@bonedaddy.net> Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
This commit is contained in:
committed by
Felipe Contreras
parent
f53a8653ab
commit
22d9794c11
@@ -23,8 +23,13 @@ then
|
|||||||
test_done
|
test_done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if ! python2 -c 'import hggit' > /dev/null 2>&1
|
if python2 -c 'import hggit' > /dev/null 2>&1
|
||||||
then
|
then
|
||||||
|
hggit=hggit
|
||||||
|
elif python2 -c 'import hgext.git' > /dev/null 2>&1
|
||||||
|
then
|
||||||
|
hggit=hgext.git
|
||||||
|
else
|
||||||
skip_all='skipping remote-hg tests; hg-git not available'
|
skip_all='skipping remote-hg tests; hg-git not available'
|
||||||
test_done
|
test_done
|
||||||
fi
|
fi
|
||||||
@@ -102,7 +107,7 @@ setup () {
|
|||||||
tag = -d "0 0"
|
tag = -d "0 0"
|
||||||
[extensions]
|
[extensions]
|
||||||
hgext.bookmarks =
|
hgext.bookmarks =
|
||||||
hggit =
|
$hggit =
|
||||||
graphlog =
|
graphlog =
|
||||||
EOF
|
EOF
|
||||||
git config --global receive.denycurrentbranch warn
|
git config --global receive.denycurrentbranch warn
|
||||||
|
|||||||
Reference in New Issue
Block a user