Show More
@@ -84,7 +84,7 b' def collect(src, ui):' | |||
|
84 | 84 | total = live * 3 // 2 |
|
85 | 85 | src = src.store.path |
|
86 | 86 | pos = 0 |
|
87 |
ui.status(_("tip has %d files, estimated total number of files: % |
|
|
87 | ui.status(_("tip has %d files, estimated total number of files: %d\n") | |
|
88 | 88 | % (live, total)) |
|
89 | 89 | for dirpath, dirnames, filenames in os.walk(src): |
|
90 | 90 | dirnames.sort() |
@@ -127,7 +127,7 b' def _smtp(ui):' | |||
|
127 | 127 | else: |
|
128 | 128 | defaultport = 25 |
|
129 | 129 | mailport = util.getport(ui.config('smtp', 'port', defaultport)) |
|
130 |
ui.note(_('sending mail: smtp host %s, port % |
|
|
130 | ui.note(_('sending mail: smtp host %s, port %d\n') % | |
|
131 | 131 | (mailhost, mailport)) |
|
132 | 132 | s.connect(host=mailhost, port=mailport) |
|
133 | 133 | if starttls: |
@@ -2643,7 +2643,7 b' def _expandaliases(aliases, tree, expand' | |||
|
2643 | 2643 | l = getlist(tree[2]) |
|
2644 | 2644 | if len(l) != len(alias.args): |
|
2645 | 2645 | raise error.ParseError( |
|
2646 |
_('invalid number of arguments: % |
|
|
2646 | _('invalid number of arguments: %d') % len(l)) | |
|
2647 | 2647 | l = [_expandaliases(aliases, a, [], cache) for a in l] |
|
2648 | 2648 | result = _expandargs(result, dict(zip(alias.args, l))) |
|
2649 | 2649 | else: |
@@ -404,7 +404,7 b' class fncache(object):' | |||
|
404 | 404 | fp.seek(0) |
|
405 | 405 | for n, line in enumerate(fp): |
|
406 | 406 | if not line.rstrip('\n'): |
|
407 |
t = _('invalid entry in fncache, line % |
|
|
407 | t = _('invalid entry in fncache, line %d') % (n + 1) | |
|
408 | 408 | raise error.Abort(t) |
|
409 | 409 | fp.close() |
|
410 | 410 |
General Comments 0
You need to be logged in to leave comments.
Login now