Show More
@@ -268,7 +268,7 b' def parsedag(desc):' | |||||
268 | s += c |
|
268 | s += c | |
269 | i += 1 |
|
269 | i += 1 | |
270 | c = nextch() |
|
270 | c = nextch() | |
271 | raise util.Abort("invalid character in dag description: %s..." % s) |
|
271 | raise util.Abort(_("invalid character in dag description: %s...") % s) | |
272 |
|
272 | |||
273 | def dagtextlines(events, |
|
273 | def dagtextlines(events, | |
274 | addspaces=True, |
|
274 | addspaces=True, | |
@@ -296,14 +296,14 b' def dagtextlines(events,' | |||||
296 |
|
296 | |||
297 | # sanity check |
|
297 | # sanity check | |
298 | if r != wantr: |
|
298 | if r != wantr: | |
299 |
raise util.Abort(" |
|
299 | raise util.Abort(_("expected id %i, got %i") % (wantr, r)) | |
300 | if not ps: |
|
300 | if not ps: | |
301 | ps = [-1] |
|
301 | ps = [-1] | |
302 | else: |
|
302 | else: | |
303 | for p in ps: |
|
303 | for p in ps: | |
304 | if p >= r: |
|
304 | if p >= r: | |
305 |
raise util.Abort(" |
|
305 | raise util.Abort(_("parent id %i is larger than " | |
306 | "current id %i" % (p, r)) |
|
306 | "current id %i") % (p, r)) | |
307 | wantr += 1 |
|
307 | wantr += 1 | |
308 |
|
308 | |||
309 | # new root? |
|
309 | # new root? |
General Comments 0
You need to be logged in to leave comments.
Login now