Filename expansion (Re: hg add with special file names)

Florian Weimer fw at deneb.enyo.de
Sat Sep 24 11:46:18 CDT 2005


* Jan Hudec:

>> With mercurial 0.7, "hg add ?" does not print a warning if there is no
>> single-letter file name in the directory.  Actually, this *is*
>> consistent with UNIX semantics. 8-)
>
> Not really. Each shell behaves differently and each shell can behave in
> several ways depending on settings, but default behaviour (well, maybe it's
> default by virtue of default distribution bashrc) for bash is to pass the
> pattern unexpanded if it does not match.

The paradigm I was referring to was "no output on success". 8-)


More information about the Mercurial mailing list