localrepo: translate "push includes X changeset" only once
This was introduced in 12fdaa30063a
--- a/mercurial/localrepo.py Tue Oct 23 09:27:48 2012 +0200
+++ b/mercurial/localrepo.py Tue Oct 23 09:22:46 2012 +0200
@@ -1880,11 +1880,11 @@
for node in outgoing.missingheads:
ctx = self[node]
if ctx.obsolete():
- raise util.Abort(_(mso) % ctx)
+ raise util.Abort(mso % ctx)
elif ctx.unstable():
- raise util.Abort(_(msu) % ctx)
+ raise util.Abort(msu % ctx)
elif ctx.bumped():
- raise util.Abort(_(msb) % ctx)
+ raise util.Abort(msb % ctx)
discovery.checkheads(self, remote, outgoing,
remoteheads, newbranch,
bool(inc))