Mercurial > hg
diff mercurial/discovery.py @ 14526:4276e3202585
prepush: show details about new remote heads with --verbose
previously, this info was only shown with --debug
Note that the new remote heads are only shown if the command aborts,
that is, they are *not* shown if --force was specified.
See also change 91cb08a9e7fb.
author | Adrian Buehlmann <adrian@cadifra.com> |
---|---|
date | Fri, 03 Jun 2011 13:10:22 +0200 |
parents | 826a13720fbc |
children | 7fa471248185 |
line wrap: on
line diff
--- a/mercurial/discovery.py Fri Jun 03 12:16:17 2011 +0200 +++ b/mercurial/discovery.py Fri Jun 03 13:10:22 2011 +0200 @@ -173,9 +173,9 @@ else: hint = _("did you forget to merge? " "use push -f to force") - repo.ui.debug("new remote heads on branch '%s'\n" % branch) + repo.ui.note("new remote heads on branch '%s'\n" % branch) for h in dhs: - repo.ui.debug("new remote head %s\n" % short(h)) + repo.ui.note("new remote head %s\n" % short(h)) if error: raise util.Abort(error, hint=hint)