# HG changeset patch # User Adrian Buehlmann # Date 1347788155 -7200 # Node ID 5fb8cf6f4f58b455787ef233e72e5e2507cc8ba7 # Parent 2f1475da1940aa4418764e35be49379c756c3978 store: reorder basename assignment in _hybridencode diff -r 2f1475da1940 -r 5fb8cf6f4f58 mercurial/store.py --- a/mercurial/store.py Sat Sep 15 21:44:08 2012 +0200 +++ b/mercurial/store.py Sun Sep 16 11:35:55 2012 +0200 @@ -201,8 +201,8 @@ path = encodedir(path) digest = _sha(path).hexdigest() parts = auxencode(lowerencode(path))[1:] - _root, ext = os.path.splitext(parts[-1]) basename = parts[-1] + _root, ext = os.path.splitext(basename) sdirs = [] for p in parts[:-1]: d = p[:_dirprefixlen]