Show More
@@ -239,12 +239,12 b' def createlog(ui, directory=None, root="' | |||||
239 | continue |
|
239 | continue | |
240 | match = re_01.match(line) |
|
240 | match = re_01.match(line) | |
241 | if match: |
|
241 | if match: | |
242 |
raise |
|
242 | raise logerror(match.group(1)) | |
243 | match = re_02.match(line) |
|
243 | match = re_02.match(line) | |
244 | if match: |
|
244 | if match: | |
245 |
raise |
|
245 | raise logerror(match.group(2)) | |
246 | if re_03.match(line): |
|
246 | if re_03.match(line): | |
247 |
raise |
|
247 | raise logerror(line) | |
248 |
|
248 | |||
249 | elif state == 1: |
|
249 | elif state == 1: | |
250 | # expect 'Working file' (only when using log instead of rlog) |
|
250 | # expect 'Working file' (only when using log instead of rlog) |
@@ -112,7 +112,7 b' def patchedsize(orig, delta):' | |||||
112 | outlen += length |
|
112 | outlen += length | |
113 |
|
113 | |||
114 | if bin != binend: |
|
114 | if bin != binend: | |
115 |
raise |
|
115 | raise ValueError("patch cannot be decoded") | |
116 |
|
116 | |||
117 | outlen += orig - last |
|
117 | outlen += orig - last | |
118 | return outlen |
|
118 | return outlen |
General Comments 0
You need to be logged in to leave comments.
Login now