[PATCH 5 of 5] add: introduce a warning message for non-portable filenames (issue2756) (BC)

Matt Mackall mpm at selenic.com
Sat Apr 16 10:49:24 CDT 2011


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.

-- 
Mathematics is the supreme nostalgia of our time.




More information about the Mercurial-devel mailing list