[PATCH] Make the --authors option to hgext/convert expand ~

Steve Borho steve at borho.org
Wed Mar 3 10:14:03 CST 2010


On Wed, Mar 3, 2010 at 9:59 AM, Simon de Vlieger <simon at ikanobori.jp> wrote:
> Greg,
>
> my zsh (and I believe my bash shell too) does not expand ~ when pressing my
> completion key.
>
> The way you put it: it would be my opinion to have mercurial expand every
> command-line argument which accepts a filepath. You also mention
> shells are good at expanding paths. Is there a problem with
> os.path.expanduser (which mercurial.util.expandpath is just a wrapper around
> at this moment)
> that I am not aware of?

~ is not expanded on Windows.  Only when applications do this
themselves (like, say, vim).

--
Steve Borho


More information about the Mercurial-devel mailing list