[PATCH 5 of 5] add: introduce a warning message for non-portable filenames (issue2756) (BC)
Adrian Buehlmann
adrian at cadifra.com
Sat Apr 16 11:02:27 CDT 2011
On 2011-04-16 17:49, Matt Mackall wrote:
> On Sat, 2011-04-16 at 14:35 +0200, Adrian Buehlmann wrote:
>
>> diff --git a/mercurial/util.py b/mercurial/util.py
>> --- a/mercurial/util.py
>> +++ b/mercurial/util.py
>> @@ -544,6 +544,23 @@
>> return _("filename ends with '%s', which is not allowed "
>> "on Windows") % t
>>
>> +def checkportable(ui, f):
>
> I'm afraid that's a definite layering violation. We'll have to think of
> somewhere to put a helper function.
>
If someone else would like to try this, feel free to do so.
I might drop this.
More information about the Mercurial-devel
mailing list