Re: [PATCH] remote-hg: fix path when cloning with tilde expansion
On Mon, Aug 5, 2013 at 3:12 PM, Antoine Pelisse <apelisse@gmail.com> wrote:
Show 7 quoted lines
> 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
>
> Fix that by using python os.path.expanduser method.
Shouldn't that be the job of the shell? (s/~/$HOME/)
--
Felipe Contreras