##// END OF EJS Templates
store: remove uneeded startswith('data/') check in _hybridencode()
Adrian Buehlmann -
r17585:8ed2783f default
parent child Browse files
Show More
@@ -198,8 +198,6 b' def _hybridencode(path, auxencode):'
198 198 The string 'data/' at the beginning is replaced with 'dh/', if the hashed
199 199 encoding was used.
200 200 '''
201 if not path.startswith('data/'):
202 return path
203 201 res = '/'.join(auxencode(encodefilename(path)))
204 202 if len(res) > _maxstorepathlen:
205 203 path = encodedir(path)
General Comments 0
You need to be logged in to leave comments. Login now