comparison mercurial/hg.py @ 40:5f87633e1ea2

Date is an int as a string in changelog
author mpm@selenic.com
date Sat, 07 May 2005 16:33:09 -0800
parents a8811676c85a
children e825a68d7227
comparison
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]