[PATCH] pathencode: skip encoding if input is already longer than maxstorepathlen

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


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

> Calling basicencode may make the path longer, never shorter. If it's
> already
> too long before, then we don't even need to basicencode it.
>

This is clever, but makes sense iff we don't use basicencode as step one of
the fncache2 encoding. So let's resolve that question before we decide what
to do with this patch.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://selenic.com/pipermail/mercurial-devel/attachments/20120921/7ccc193c/attachment.html>


More information about the Mercurial-devel mailing list