[PATCH] introduce upath repositories (issue793)

Jesse Glick jesse.glick at sun.com
Thu Jun 26 19:48:46 CDT 2008


Adrian Buehlmann wrote:
> upath encodes repository paths by prepending an underbar to every
> path component inside .hg/store/data.
> 
> This encoding ensures that repositories containing tracked files with
> path components consisting of Windows reserved file names (e.g.
> 'nul', 'aux', 'lpt', etc.) can be pulled to Windows.

Unfortunately this will also have the effect of making repo path names 
even longer - which can turn a repository which is currently usable on 
Windows into one which is unusable. For the repositories I work with, 
which already have a few files pushing into the danger zone for Windows 
users, this patch would add 16 characters to some repo files, which 
could substantially restrict where the repo could be cloned.



More information about the Mercurial-devel mailing list