author | Adrian Buehlmann <adrian@cadifra.com> |
Sun, 16 Sep 2012 11:35:55 +0200 | |
changeset 17587 | 5fb8cf6f4f58 |
parent 17586 | 2f1475da1940 |
child 17588 | 3d789dd72316 |
--- 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]