Show More
@@ -282,7 +282,7 b' def size(mctx, x):' | |||
|
282 | 282 | - 4k - 1MB (files from 4096 bytes to 1048576 bytes) |
|
283 | 283 | """ |
|
284 | 284 | |
|
285 |
expr = getstring(x, _(" |
|
|
285 | expr = getstring(x, _("size requires an expression")).strip() | |
|
286 | 286 | if '-' in expr: # do we have a range? |
|
287 | 287 | a, b = expr.split('-', 1) |
|
288 | 288 | a = _sizetoint(a) |
@@ -417,7 +417,7 b' def follow(repo, subset, x):' | |||
|
417 | 417 | l = getargs(x, 0, 1, _("follow takes no arguments or a filename")) |
|
418 | 418 | p = repo['.'].rev() |
|
419 | 419 | if l: |
|
420 | x = getstring(l[0], "follow expected a filename") | |
|
420 | x = getstring(l[0], _("follow expected a filename")) | |
|
421 | 421 | s = set(ctx.rev() for ctx in repo['.'][x].ancestors()) |
|
422 | 422 | else: |
|
423 | 423 | s = set(repo.changelog.ancestors(p)) |
@@ -604,7 +604,7 b' def outgoing(repo, subset, x):' | |||
|
604 | 604 | """ |
|
605 | 605 | import hg # avoid start-up nasties |
|
606 | 606 | # i18n: "outgoing" is a keyword |
|
607 |
l = getargs(x, 0, 1, _("outgoing |
|
|
607 | l = getargs(x, 0, 1, _("outgoing takes one or no arguments")) | |
|
608 | 608 | # i18n: "outgoing" is a keyword |
|
609 | 609 | dest = l and getstring(l[0], _("outgoing requires a repository path")) or '' |
|
610 | 610 | dest = repo.ui.expandpath(dest or 'default-push', dest or 'default') |
General Comments 0
You need to be logged in to leave comments.
Login now