##// END OF EJS Templates
store: optimize _pathencode by checking the length of the unencoded path...
Adrian Buehlmann -
r17693:0c6de45e default
parent child Browse files
Show More
@@ -255,6 +255,8 b' def _hybridencode(path, dotencode):'
255 255 return res
256 256
257 257 def _pathencode(path):
258 if len(path) > _maxstorepathlen:
259 return None
258 260 ef = _encodefname(encodedir(path)).split('/')
259 261 res = '/'.join(_auxencode(ef, True))
260 262 if len(res) > _maxstorepathlen:
General Comments 0
You need to be logged in to leave comments. Login now