mercurial/changelog.py
changeset 1364 0f25830f6bc3
parent 1327 085e3fc189b6
child 1400 cf9a1233738a
equal deleted inserted replaced
1363:8549335d19fc 1364:0f25830f6bc3
    13     def __init__(self, opener):
    13     def __init__(self, opener):
    14         revlog.__init__(self, opener, "00changelog.i", "00changelog.d")
    14         revlog.__init__(self, opener, "00changelog.i", "00changelog.d")
    15 
    15 
    16     def extract(self, text):
    16     def extract(self, text):
    17         if not text:
    17         if not text:
    18             return (nullid, "", "0", [], "")
    18             return (nullid, "", (0, 0), [], "")
    19         last = text.index("\n\n")
    19         last = text.index("\n\n")
    20         desc = text[last + 2:]
    20         desc = text[last + 2:]
    21         l = text[:last].splitlines()
    21         l = text[:last].splitlines()
    22         manifest = bin(l[0])
    22         manifest = bin(l[0])
    23         user = l[1]
    23         user = l[1]