[PATCH] Make the --authors option to hgext/convert expand ~
Benoit Boissinot
bboissin at gmail.com
Wed Mar 3 13:07:07 CST 2010
On Wed, Mar 3, 2010 at 7:54 PM, Brendan Cully <brendan at kublai.com> wrote:
> On Wednesday, 03 March 2010 at 13:31, Greg Ward wrote:
>> IMHO no. Because then Windows people will expect "hg clone ~/foo" or
>> "hg pull ~/foo" to do something meaningful. And I don't think we
>> should do that. Let Unix shells do what they do, i.e. expand wildcard
>> patterns before exec()'ing the child. Windows users who want Unix
>> behaviour can, ummm, I dunno... use cygwin? ;-)
>
> I don't think it's consistent for ~ to work in config files but not on
> the command line (IOW, hg pull ~/foo ought to work regardless of your
> platform). Of course, it works on both for unix because we happen to
> have a helpful shell. For windows, I think it makes sense to expand
> the path.
I remember the same conversation, a couple years ago, but with '*'
instead of '~'. Can't we do the same thing and teach glob about '~' ?
regards,
Benoit
More information about the Mercurial-devel
mailing list