mercurial/dispatch.py
changeset 15017 f4522df38c65
parent 14999 f6a737357195
child 15020 607f1434501d
--- a/mercurial/dispatch.py	Wed Aug 03 16:41:14 2011 -0500
+++ b/mercurial/dispatch.py	Tue Aug 02 15:21:10 2011 -0400
@@ -123,6 +123,9 @@
         else:
             ui.warn(_("hg: %s\n") % inst.args[1])
             commands.help_(ui, 'shortlist')
+    except error.OutOfBandError, inst:
+        ui.warn("abort: remote error:\n")
+        ui.warn(''.join(inst.args))
     except error.RepoError, inst:
         ui.warn(_("abort: %s!\n") % inst)
         if inst.hint: