Show More
@@ -156,7 +156,7 b' class changelogrevision(object):' | |||
|
156 | 156 | 'extra', |
|
157 | 157 | 'files', |
|
158 | 158 | '_rawmanifest', |
|
159 | 'user', | |
|
159 | '_rawuser', | |
|
160 | 160 | ) |
|
161 | 161 | |
|
162 | 162 | def __new__(cls, text): |
@@ -191,8 +191,10 b' class changelogrevision(object):' | |||
|
191 | 191 | nl1 = text.index('\n') |
|
192 | 192 | self._rawmanifest = text[0:nl1] |
|
193 | 193 | |
|
194 | nl2 = text.index('\n', nl1 + 1) | |
|
195 | self._rawuser = text[nl1 + 1:nl2] | |
|
196 | ||
|
194 | 197 | l = text[:doublenl].split('\n') |
|
195 | self.user = encoding.tolocal(l[1]) | |
|
196 | 198 | |
|
197 | 199 | tdata = l[2].split(' ', 2) |
|
198 | 200 | if len(tdata) != 3: |
@@ -217,6 +219,10 b' class changelogrevision(object):' | |||
|
217 | 219 | return bin(self._rawmanifest) |
|
218 | 220 | |
|
219 | 221 | @property |
|
222 | def user(self): | |
|
223 | return encoding.tolocal(self._rawuser) | |
|
224 | ||
|
225 | @property | |
|
220 | 226 | def description(self): |
|
221 | 227 | return encoding.tolocal(self._rawdesc) |
|
222 | 228 |
General Comments 0
You need to be logged in to leave comments.
Login now