hgext/largefiles/basestore.py
changeset 26587 56b2bcea2529
parent 25660 328739ea70c3
child 28463 19b4a2087dfc
--- a/hgext/largefiles/basestore.py	Mon Oct 05 22:49:24 2015 -0700
+++ b/hgext/largefiles/basestore.py	Thu Oct 08 12:55:45 2015 -0700
@@ -10,7 +10,7 @@
 
 import re
 
-from mercurial import util, node, hg
+from mercurial import util, node, hg, error
 from mercurial.i18n import _
 
 import lfutil
@@ -209,7 +209,7 @@
     try:
         storeproviders = _storeprovider[scheme]
     except KeyError:
-        raise util.Abort(_('unsupported URL scheme %r') % scheme)
+        raise error.Abort(_('unsupported URL scheme %r') % scheme)
 
     for classobj in storeproviders:
         try:
@@ -217,5 +217,5 @@
         except lfutil.storeprotonotcapable:
             pass
 
-    raise util.Abort(_('%s does not appear to be a largefile store') %
+    raise error.Abort(_('%s does not appear to be a largefile store') %
                      util.hidepassword(path))