contrib/hgfixes/__init__.py
author Adrian Buehlmann <adrian@cadifra.com>
Sun, 30 Sep 2012 23:53:56 +0200
changeset 17693 0c6de45e1212
parent 11948 88d4911930bf
permissions -rw-r--r--
store: optimize _pathencode by checking the length of the unencoded path If the input path is already longer than _maxstorepathlen, then we can skip doing the basic encoding (encodedir, _encodefname and _auxencode) and directly proceed to the hashed encoding. Those encodings, if at all, will make the path only longer.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines: