Bug 970233 - Make redirect non-fatal; r=ted default tip
authorGregory Szorc <gps@mozilla.com>
Wed, 19 Feb 2014 16:17:21 -0800
changeset 136 b64c2cba9a46
parent 135 ccdd4e552096
push id65
push usergszorc@mozilla.com
push date2014-02-24 16:48 +0000
reviewersted
bugs970233
Bug 970233 - Make redirect non-fatal; r=ted
__init__.py
--- a/__init__.py
+++ b/__init__.py
@@ -18,19 +18,17 @@
 bzexport
 
 Attach a patch from a HG repository to a bugzilla bug.
 
 This extension has moved repositories and now lives in
 https://hg.mozilla.org/hgcustom/version-control-tools/
 """
 
-ERROR = 'The bzexport extension has switched repositories and \
+ERROR = 'WARNING: The bzexport extension has switched repositories and \
 now lives in the repository at \
 https://hg.mozilla.org/hgcustom/version-control-tools/. Please \
 clone this repository and update your hgrc to point to the new \
 location. If you use mach to build Firefox, run \
-`mach mercurial-setup` to do this for you.'
-
-from mercurial.util import Abort
+`mach mercurial-setup` to do this for you.\n'
 
 def extsetup(ui):
-    raise Abort(ERROR)
+    ui.warn(ERROR)