Mercurial > hg
changeset 17585:8ed2783f338f
store: remove uneeded startswith('data/') check in _hybridencode()
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Sat, 15 Sep 2012 21:43:56 +0200 |
parents | 61cd71dc3797 |
children | 2f1475da1940 |
files | mercurial/store.py |
diffstat | 1 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/store.py Sat Sep 15 21:43:14 2012 +0200 +++ b/mercurial/store.py Sat Sep 15 21:43:56 2012 +0200 @@ -198,8 +198,6 @@ The string 'data/' at the beginning is replaced with 'dh/', if the hashed encoding was used. ''' - if not path.startswith('data/'): - return path res = '/'.join(auxencode(encodefilename(path))) if len(res) > _maxstorepathlen: path = encodedir(path)