diff -r d51c658d3f04 -r 56b2bcea2529 hgext/share.py --- 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()