Mercurial > hg-stable
diff mercurial/localrepo.py @ 15993:0b05e0bfdc1c stable
scmutil: unify some 'no changes found' messages
This keeps the wording more consistent for secret csets
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 25 Jan 2012 17:14:08 -0600 |
parents | 827e0126738d |
children | ed9f40bc346f |
line wrap: on
line diff
--- a/mercurial/localrepo.py Wed Jan 25 19:41:34 2012 +0100 +++ b/mercurial/localrepo.py Wed Jan 25 17:14:08 2012 -0600 @@ -1629,11 +1629,7 @@ if not outgoing.missing: # nothing to push - if outgoing.excluded: - msg = "no changes to push but %i secret changesets\n" - self.ui.status(_(msg) % len(outgoing.excluded)) - else: - self.ui.status(_("no changes found\n")) + scmutil.nochangesfound(self.ui, outgoing.excluded) ret = 1 else: # something to push