# HG changeset patch # User Martin von Zweigbergk # Date 1477700706 25200 # Node ID 86e71a0b3319e89daf5c91ae0d839cc6f8c9ed28 # Parent a7dcfff8c4a98bf98d435e122152f528da848e81 errors: add missing imports of mercurial.error diff -r a7dcfff8c4a9 -r 86e71a0b3319 hgext/obsolete.py --- a/hgext/obsolete.py Fri Oct 28 17:15:57 2016 -0700 +++ b/hgext/obsolete.py Fri Oct 28 17:25:06 2016 -0700 @@ -13,7 +13,7 @@ were such user. """ -from mercurial import util +from mercurial import error try: from mercurial import obsolete @@ -24,9 +24,9 @@ import json from mercurial import cmdutil -from mercurial import error from mercurial.i18n import _ from mercurial.node import bin, nullid +from mercurial import util ##################################################################### diff -r a7dcfff8c4a9 -r 86e71a0b3319 hgext/pushexperiment.py --- a/hgext/pushexperiment.py Fri Oct 28 17:15:57 2016 -0700 +++ b/hgext/pushexperiment.py Fri Oct 28 17:25:06 2016 -0700 @@ -12,6 +12,7 @@ from StringIO import StringIO from mercurial.i18n import _ +from mercurial import error from mercurial import extensions from mercurial import wireproto from mercurial import obsolete diff -r a7dcfff8c4a9 -r 86e71a0b3319 hgext/simple4server.py --- a/hgext/simple4server.py Fri Oct 28 17:15:57 2016 -0700 +++ b/hgext/simple4server.py Fri Oct 28 17:25:06 2016 -0700 @@ -15,6 +15,7 @@ import hashlib import struct +from mercurial import error from mercurial import util from mercurial import wireproto from mercurial import extensions