Antoine Pelisse b7f9554a8f remote-hg: fix path when cloning with tilde expansion
The current code fixes the path to make it absolute when cloning, but
doesn't consider tilde expansion, so that scenario fails throwing an
exception because /home/myuser/~/my/repository doesn't exists:

    $ git clone hg::~/my/repository && cd repository && git fetch

Expand the tilde when checking if the path is absolute, so that we don't
fix a path that doesn't need to be.

Signed-off-by: Antoine Pelisse <apelisse@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-05-09 08:26:12 -05:00
2014-05-09 08:26:03 -05:00
2014-05-09 08:25:22 -05:00
2014-05-09 08:26:03 -05:00
2014-05-09 08:26:12 -05:00
Description
Transparent bidirectional bridge between Git and Mercurial for Git
GPL-2.0 943 KiB
Languages
Python 54.9%
Shell 42.3%
Ruby 1.9%
Makefile 0.9%