mirror of
https://github.com/mnauw/git-remote-hg.git
synced 2025-11-02 01:25:49 +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
|
||||
fi
|
||||
|
||||
if ! python2 -c 'import hggit' > /dev/null 2>&1
|
||||
if python2 -c 'import hggit' > /dev/null 2>&1
|
||||
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'
|
||||
test_done
|
||||
fi
|
||||
@@ -102,7 +107,7 @@ setup () {
|
||||
tag = -d "0 0"
|
||||
[extensions]
|
||||
hgext.bookmarks =
|
||||
hggit =
|
||||
$hggit =
|
||||
graphlog =
|
||||
EOF
|
||||
git config --global receive.denycurrentbranch warn
|
||||
|
||||
Reference in New Issue
Block a user