Windows specific warnings under Linux
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Fri Feb 4 13:08:20 UTC 2022
On 2/4/22 12:42, Dr Rainer Woitok wrote:
> Greetings,
>
> is there a way (short of sending all standard error to "/dev/null") to
> get rid of such warnings?
>
> $ uname -o
> GNU/Linux
> $ /usr/bin/hg version
> Mercurial Distributed SCM (version 5.8.1)
> (see https://mercurial-scm.org for more information)
>
> Copyright (C) 2005-2021 Olivia Mackall and others
> This is free software; see the source for copying conditions. There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
>
> $ /usr/bin/hg init repo
> $ cd repo
> $ touch 'a*'
> $ /usr/bin/hg addremove
> adding a*
> warning: filename contains '*', which is reserved on Windows: 'a*'
> $
>
> Just for the unlikely case that somebody out there really does not at
> all care about Windoze ... :-)
>
> Sincerely,
> Rainer
You can control this behavior through config. See `hg help
config.ui.portablefilenames ` for details.
Cheers,
More information about the Mercurial
mailing list