##// END OF EJS Templates
blackbox: do not translate the log messages...
Durham Goode -
r18691:4f485bd6 default
parent child Browse files
Show More
@@ -747,7 +747,7 b' def _dispatch(req):'
747 return ret
747 return ret
748 finally:
748 finally:
749 duration = time.time() - starttime
749 duration = time.time() - starttime
750 ui.log("commandfinish", _("%s exited %s after %0.2f seconds\n"),
750 ui.log("commandfinish", "%s exited %s after %0.2f seconds\n",
751 cmd, ret, duration)
751 cmd, ret, duration)
752 if repo and repo != req.repo:
752 if repo and repo != req.repo:
753 repo.close()
753 repo.close()
@@ -98,7 +98,7 b' def _pythonhook(ui, repo, name, hname, f'
98 readablefunc = funcname
98 readablefunc = funcname
99 if isinstance(funcname, types.FunctionType):
99 if isinstance(funcname, types.FunctionType):
100 readablefunc = funcname.__module__ + "." + funcname.__name__
100 readablefunc = funcname.__module__ + "." + funcname.__name__
101 ui.log('pythonhook', _('pythonhook-%s: %s finished in %0.2f seconds\n'),
101 ui.log('pythonhook', 'pythonhook-%s: %s finished in %0.2f seconds\n',
102 name, readablefunc, duration)
102 name, readablefunc, duration)
103 if r:
103 if r:
104 if throw:
104 if throw:
@@ -132,7 +132,7 b' def _exthook(ui, repo, name, cmd, args, '
132 r = util.system(cmd, environ=env, cwd=cwd, out=ui.fout)
132 r = util.system(cmd, environ=env, cwd=cwd, out=ui.fout)
133
133
134 duration = time.time() - starttime
134 duration = time.time() - starttime
135 ui.log('exthook', _('exthook-%s: %s finished in %0.2f seconds\n'),
135 ui.log('exthook', 'exthook-%s: %s finished in %0.2f seconds\n',
136 name, cmd, duration)
136 name, cmd, duration)
137 if r:
137 if r:
138 desc, r = util.explainexit(r)
138 desc, r = util.explainexit(r)
@@ -2402,7 +2402,7 b' class localrepository(object):'
2402
2402
2403 newheads = [h for h in self.heads() if h not in oldheads]
2403 newheads = [h for h in self.heads() if h not in oldheads]
2404 self.ui.log("incoming",
2404 self.ui.log("incoming",
2405 _("%s incoming changes - new heads: %s\n"),
2405 "%s incoming changes - new heads: %s\n",
2406 len(added),
2406 len(added),
2407 ', '.join([hex(c[:6]) for c in newheads]))
2407 ', '.join([hex(c[:6]) for c in newheads]))
2408 self._afterlock(runhooks)
2408 self._afterlock(runhooks)
General Comments 0
You need to be logged in to leave comments. Login now