mercurial/hg.py
changeset 40 5f87633e1ea2
parent 37 a8811676c85a
child 44 e825a68d7227
equal deleted inserted replaced
39:adf70fffca9f 40:5f87633e1ea2
   108     def __init__(self, opener):
   108     def __init__(self, opener):
   109         revlog.__init__(self, opener, "00changelog.i", "00changelog.d")
   109         revlog.__init__(self, opener, "00changelog.i", "00changelog.d")
   110 
   110 
   111     def extract(self, text):
   111     def extract(self, text):
   112         if not text:
   112         if not text:
   113             return (nullid, "", 0, [], "")
   113             return (nullid, "", "0", [], "")
   114         last = text.index("\n\n")
   114         last = text.index("\n\n")
   115         desc = text[last + 2:]
   115         desc = text[last + 2:]
   116         l = text[:last].splitlines()
   116         l = text[:last].splitlines()
   117         manifest = bin(l[0])
   117         manifest = bin(l[0])
   118         user = l[1]
   118         user = l[1]