Mercurial > public > mercurial-scm > hg-stable
diff mercurial/localrepo.py @ 18691:4f485bd68f1d
blackbox: do not translate the log messages
User 'timeless' in irc mentioned that having the blackbox be
translated would result in logs that:
- may be mixed language, if multiple users use the same repo
- are not google searchable (since searching for english gives more
results)
- might not be readable by an admin if the employee is using hg in
his native language
And therefore we should log everything in english.
author | Durham Goode <durham@fb.com> |
---|---|
date | Wed, 13 Feb 2013 12:51:30 -0800 |
parents | 539210ed2069 |
children | 7790d69af6d6 |
line wrap: on
line diff
--- a/mercurial/localrepo.py Tue Feb 12 11:36:21 2013 -0600 +++ b/mercurial/localrepo.py Wed Feb 13 12:51:30 2013 -0800 @@ -2402,7 +2402,7 @@ newheads = [h for h in self.heads() if h not in oldheads] self.ui.log("incoming", - _("%s incoming changes - new heads: %s\n"), + "%s incoming changes - new heads: %s\n", len(added), ', '.join([hex(c[:6]) for c in newheads])) self._afterlock(runhooks)