Error cloning repository on a linux server concerning with tortoiseHg

Gaunet Sylvain (ASTEK) Sylvain.Gaunet at cnes.fr
Thu Dec 15 12:46:33 UTC 2011


Hello all,

I'm trying to use tortoise Hg. I just want to clone a repository from a linux server to my personal windows computer. On the Linux, Mercurial isn't installed in /usr/bin ... but in a folder which is /local/admin/mercurial/ :

root at vancouver:~#  ll /local/admin/mercurial/
total 12
drwxr-xr-x 2 gaunets_adm sgcadm 4096 2011-12-09 13:03 bin
drwxr-xr-x 8 gaunets_adm sgcadm 4096 2011-12-09 13:02 contrib
drwxr-xr-x 3 gaunets_adm sgcadm 4096 2011-12-09 13:03 lib

Every configuration on the Linux is ok and extensions works well :

root at vancouver:~# tail /etc/profile
...
export PYTHONPATH=/local/admin/mercurial/lib/python/
export PATH=/local/admin/outils:/local/admin/mercurial/bin:/local/admin/mercurial/contrib/:$PATH
source /local/admin/mercurial/contrib/bash_completion   # completion mercurial

But when I want to clone from tortoise on my windows, I've got this error :

% hg clone --verbose -- ssh://gaunets@XXX.XXX.XXX.XXX:/home/gaunets/DEV/DDC_GEN/.hg .
running ""TortoisePlink.exe" -ssh -2 gaunets at XXX.XXX.XXX.XXX "hg -R home/gaunets/DEV/DDC_GEN/.hg serve --stdio""
remote: *** failed to import extension progress: No module named progress
remote: *** failed to import extension hgext.graphlog from /local/admin/mercurial/lib/python/hgext/graphlog.py: 'module' object has no attribute 'command'
remote: *** failed to import extension largefiles: No module named largefiles
remote: abort: There is no Mercurial repository here (.hg not found)!

No error concerning the .hg :

root at vancouver:~# ll /home/gaunets/DEV/DDC_GEN/.hg
total 60
-rw-rw---- 1 gaunets sgc   57 2010-03-29 19:32 00changelog.i
-rw-rw---- 1 gaunets sgc    8 2011-08-03 16:43 branch
...


What configuration I missed ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20111215/edb0546c/attachment-0002.html>


More information about the Mercurial mailing list