# HG changeset patch # User Siddharth Agarwal # Date 1379988152 25200 # Node ID a9abdb168425276439d8eaa16cf8b1f85dd37760 # Parent 544848ef65f284f507002d9ae37d8b15b305c7f5 pull: for pull --update with failed update, print hint if any An upcoming patch will add a hint to the abort message, and we don't want to lose that here. diff -r 544848ef65f2 -r a9abdb168425 mercurial/commands.py --- a/mercurial/commands.py Fri Sep 06 13:30:57 2013 +0400 +++ b/mercurial/commands.py Mon Sep 23 19:02:32 2013 -0700 @@ -4527,6 +4527,8 @@ ret = hg.update(repo, checkout) except util.Abort, inst: ui.warn(_("not updating: %s\n") % str(inst)) + if inst.hint: + ui.warn(_("(%s)\n") % inst.hint) return 0 if not ret and not checkout: if bookmarks.update(repo, [movemarkfrom], repo['.'].node()):