changeset 17573 | fb8658ad9e8d |
parent 17572 | b644287e79a8 |
child 17574 | 81a033bb29bc |
--- a/mercurial/store.py Sat Sep 15 21:42:52 2012 +0200 +++ b/mercurial/store.py Sat Sep 15 21:42:58 2012 +0200 @@ -161,8 +161,7 @@ res[i] = n if n[-1] in '. ': # encode last period or space ('foo...' -> 'foo..~2e') - n = n[:-1] + "~%02x" % ord(n[-1]) - res[i] = n + res[i] = n[:-1] + "~%02x" % ord(n[-1]) return '/'.join(res) _maxstorepathlen = 120