mercurial/dispatch.py
changeset 22595 244478687edd
parent 22378 c828b61e0635
child 23270 41c03b7592ed
--- a/mercurial/dispatch.py	Tue Sep 30 16:01:19 2014 -0700
+++ b/mercurial/dispatch.py	Wed Sep 03 15:59:03 2014 -0400
@@ -193,6 +193,8 @@
             ui.warn(_(" empty string\n"))
         else:
             ui.warn("\n%r\n" % util.ellipsis(inst.args[1]))
+    except error.CensoredNodeError, inst:
+        ui.warn(_("abort: file censored %s!\n") % inst)
     except error.RevlogError, inst:
         ui.warn(_("abort: %s!\n") % inst)
     except error.SignalInterrupt: