mercurial/bundlerepo.py
changeset 26587 56b2bcea2529
parent 26544 1e8e0b01faba
child 26800 7cac6ee41be7
--- a/mercurial/bundlerepo.py	Mon Oct 05 22:49:24 2015 -0700
+++ b/mercurial/bundlerepo.py	Thu Oct 08 12:55:45 2015 -0700
@@ -282,7 +282,7 @@
                             in changegroup.packermap)]
 
             if not cgparts:
-                raise util.Abort('No changegroups found')
+                raise error.Abort('No changegroups found')
             version = cgparts[0].params.get('version', '01')
             cgparts = [p for p in cgparts
                        if p.params.get('version', '01') == version]
@@ -374,7 +374,7 @@
 
 def instance(ui, path, create):
     if create:
-        raise util.Abort(_('cannot create new bundle repository'))
+        raise error.Abort(_('cannot create new bundle repository'))
     # internal config: bundle.mainreporoot
     parentpath = ui.config("bundle", "mainreporoot", "")
     if not parentpath: