make relocation message non-fatal default tip
authorGregory Szorc <gps@mozilla.com>
Wed, 19 Feb 2014 16:14:46 -0800
changeset 96 1fbc779cdba3
parent 95 96df46ab6a4f
push id70
push usergszorc@mozilla.com
push dateThu, 20 Feb 2014 00:15:06 +0000
make relocation message non-fatal
__init__.py
--- a/__init__.py
+++ b/__init__.py
@@ -3,17 +3,15 @@
 
 """make Mozilla contributors more productive
 
 This extension adds Mozilla-centric commands and functionality to Mercurial
 to enable contributors to Firefox and related applications to be more
 productive.
 """
 
-from mercurial.util import Abort
-
-ERROR = 'The mozext extension has moved repositories. You can now \
+ERROR = 'WARNING: The mozext extension has moved repositories. You can now \
 find the source code at https://hg.mozilla.org/hgcustom/version-control-tools. \
 Please clone that repository and update your hgrc to point to the new \
-location.'
+location.\n'
 
 def extsetup(ui):
-    raise Abort(ERROR)
+    ui.warn(ERROR)