mercurial/changelog.py
changeset 3427 f2de6b6bc57a
parent 3225 2f35961854fb
child 3772 29d91e57d055
equal deleted inserted replaced
3407:d2b55e3c4e25 3427:f2de6b6bc57a
    57         (.*)            : comment (free text, ideally utf-8)
    57         (.*)            : comment (free text, ideally utf-8)
    58 
    58 
    59         changelog v0 doesn't use extra
    59         changelog v0 doesn't use extra
    60         """
    60         """
    61         if not text:
    61         if not text:
    62             return (nullid, "", (0, 0), [], "")
    62             return (nullid, "", (0, 0), [], "", {})
    63         last = text.index("\n\n")
    63         last = text.index("\n\n")
    64         desc = text[last + 2:]
    64         desc = text[last + 2:]
    65         l = text[:last].split('\n')
    65         l = text[:last].split('\n')
    66         manifest = bin(l[0])
    66         manifest = bin(l[0])
    67         user = l[1]
    67         user = l[1]