Show More
@@ -155,7 +155,7 b' class changelogrevision(object):' | |||||
155 | '_rawdesc', |
|
155 | '_rawdesc', | |
156 | 'extra', |
|
156 | 'extra', | |
157 | 'files', |
|
157 | 'files', | |
158 | 'manifest', |
|
158 | '_rawmanifest', | |
159 | 'user', |
|
159 | 'user', | |
160 | ) |
|
160 | ) | |
161 |
|
161 | |||
@@ -188,8 +188,10 b' class changelogrevision(object):' | |||||
188 | doublenl = text.index('\n\n') |
|
188 | doublenl = text.index('\n\n') | |
189 | self._rawdesc = text[doublenl + 2:] |
|
189 | self._rawdesc = text[doublenl + 2:] | |
190 |
|
190 | |||
|
191 | nl1 = text.index('\n') | |||
|
192 | self._rawmanifest = text[0:nl1] | |||
|
193 | ||||
191 | l = text[:doublenl].split('\n') |
|
194 | l = text[:doublenl].split('\n') | |
192 | self.manifest = bin(l[0]) |
|
|||
193 | self.user = encoding.tolocal(l[1]) |
|
195 | self.user = encoding.tolocal(l[1]) | |
194 |
|
196 | |||
195 | tdata = l[2].split(' ', 2) |
|
197 | tdata = l[2].split(' ', 2) | |
@@ -211,6 +213,10 b' class changelogrevision(object):' | |||||
211 | return self |
|
213 | return self | |
212 |
|
214 | |||
213 | @property |
|
215 | @property | |
|
216 | def manifest(self): | |||
|
217 | return bin(self._rawmanifest) | |||
|
218 | ||||
|
219 | @property | |||
214 | def description(self): |
|
220 | def description(self): | |
215 | return encoding.tolocal(self._rawdesc) |
|
221 | return encoding.tolocal(self._rawdesc) | |
216 |
|
222 |
General Comments 0
You need to be logged in to leave comments.
Login now