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