[PATCH] V12 of experiment for a simpler path encoding for hashed paths (for "fncache2")

Bryan O'Sullivan bos at serpentine.com
Fri Sep 28 17:43:10 CDT 2012

On Fri, Sep 28, 2012 at 2:26 PM, Adrian Buehlmann <adrian at cadifra.com>wrote:

> V12 replaces periods and spaces with ~ *everywhere*. These are dangerous
> characters.
> The period in "nul.txt" is thus replaced with a tilde, so you get
> "nul~txt", which is not a reserved name anymore.

Ah, I'd missed that detail. That makes sense to me.

> I think we should escape com0..com9 and lpt0..lpt9 (despite what the MS
> document says).

Sounds like it.

This patch is looking good to me. I'm not currently seeing any problems
with it. Have you tried writing a pure Python version yet?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120928/bcad6fbb/attachment.html>

More information about the Mercurial-devel mailing list