mercurial/store.py
changeset 49004 f254fc73d956
parent 48966 6000f5b25c9b
child 49032 fd5b8e696b75
equal deleted inserted replaced
49003:a0674e916fb6 49004:f254fc73d956
   142         cmap[xchr(x)] = b"~%02x" % x
   142         cmap[xchr(x)] = b"~%02x" % x
   143     for x in capitals + [ord(e)]:
   143     for x in capitals + [ord(e)]:
   144         cmap[xchr(x)] = e + xchr(x).lower()
   144         cmap[xchr(x)] = e + xchr(x).lower()
   145 
   145 
   146     dmap = {}
   146     dmap = {}
   147     for k, v in pycompat.iteritems(cmap):
   147     for k, v in cmap.items():
   148         dmap[v] = k
   148         dmap[v] = k
   149 
   149 
   150     def decode(s):
   150     def decode(s):
   151         i = 0
   151         i = 0
   152         while i < len(s):
   152         while i < len(s):