hgext/share.py
changeset 26587 56b2bcea2529
parent 25851 bf3d10f0c34a
child 26933 a7eecd021782
--- a/hgext/share.py	Mon Oct 05 22:49:24 2015 -0700
+++ b/hgext/share.py	Thu Oct 08 12:55:45 2015 -0700
@@ -38,7 +38,7 @@
 '''
 
 from mercurial.i18n import _
-from mercurial import cmdutil, commands, hg, util, extensions, bookmarks
+from mercurial import cmdutil, commands, hg, util, extensions, bookmarks, error
 from mercurial.hg import repository, parseurl
 import errno
 
@@ -83,7 +83,7 @@
     """
 
     if not repo.shared():
-        raise util.Abort(_("this is not a shared repo"))
+        raise error.Abort(_("this is not a shared repo"))
 
     destlock = lock = None
     lock = repo.lock()