From: Antoine Pelisse Date: Mon, 05 Aug 2013 20:32:05 GMT Subject: Re: [PATCH] remote-hg: fix path when cloning with tilde expansion Message-ID: In-Reply-To: On Mon, Aug 5, 2013 at 10:30 PM, Felipe Contreras wrote: > On Mon, Aug 5, 2013 at 3:12 PM, Antoine Pelisse wrote: >> $ 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/) I guess it is, as long as it looks like a path: $ echo ~ /home/myuser $ echo hg::~ hg::~