Mercurial > hg-stable
changeset 25062:b7a8e9fa605f
store: add comment in _hashencode with reason for skipping the first 5 chars
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Wed, 13 May 2015 20:36:56 +0200 |
parents | 625dd917f04f |
children | 723e364488f4 |
files | mercurial/store.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/store.py Tue Apr 14 10:57:15 2015 -0400 +++ b/mercurial/store.py Wed May 13 20:36:56 2015 +0200 @@ -187,7 +187,7 @@ def _hashencode(path, dotencode): digest = _sha(path).hexdigest() - le = lowerencode(path[5:]).split('/') + le = lowerencode(path[5:]).split('/') # skips prefix 'data/' parts = _auxencode(le, dotencode) basename = parts[-1] _root, ext = os.path.splitext(basename)