Show More
@@ -478,7 +478,7 b' def _dispatch(ui, args):' | |||||
478 | raise |
|
478 | raise | |
479 | args.insert(0, repo) |
|
479 | args.insert(0, repo) | |
480 | elif rpath: |
|
480 | elif rpath: | |
481 | ui.warn("warning: --repository ignored\n") |
|
481 | ui.warn(_("warning: --repository ignored\n")) | |
482 |
|
482 | |||
483 | d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) |
|
483 | d = lambda: util.checksignature(func)(ui, *args, **cmdoptions) | |
484 | return runcommand(lui, repo, cmd, fullargs, ui, options, d, |
|
484 | return runcommand(lui, repo, cmd, fullargs, ui, options, d, |
@@ -150,9 +150,10 b' def strip(ui, repo, node, backup="all"):' | |||||
150 | os.unlink(chgrpfile) |
|
150 | os.unlink(chgrpfile) | |
151 | except: |
|
151 | except: | |
152 | if backupfile: |
|
152 | if backupfile: | |
153 |
ui.warn("strip failed, full bundle stored in '%s'\n" |
|
153 | ui.warn(_("strip failed, full bundle stored in '%s'\n") | |
|
154 | % backupfile) | |||
154 | elif saveheads: |
|
155 | elif saveheads: | |
155 | ui.warn("strip failed, partial bundle stored in '%s'\n" |
|
156 | ui.warn(_("strip failed, partial bundle stored in '%s'\n") | |
156 | % chgrpfile) |
|
157 | % chgrpfile) | |
157 | raise |
|
158 | raise | |
158 |
|
159 |
@@ -304,7 +304,7 b' class ui(object):' | |||||
304 | p = self.config('paths', loc) |
|
304 | p = self.config('paths', loc) | |
305 | if p: |
|
305 | if p: | |
306 | if '%%' in p: |
|
306 | if '%%' in p: | |
307 | self.warn("(deprecated '%%' in path %s=%s from %s)\n" % |
|
307 | self.warn(_("(deprecated '%%' in path %s=%s from %s)\n") % | |
308 | (loc, p, self.configsource('paths', loc))) |
|
308 | (loc, p, self.configsource('paths', loc))) | |
309 | p = p.replace('%%', '%') |
|
309 | p = p.replace('%%', '%') | |
310 | p = util.expandpath(p) |
|
310 | p = util.expandpath(p) |
General Comments 0
You need to be logged in to leave comments.
Login now