Mercurial > evolve
changeset 1757:86e71a0b3319 stable
errors: add missing imports of mercurial.error
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 28 Oct 2016 17:25:06 -0700 |
parents | a7dcfff8c4a9 |
children | 5526e97928d7 825bcf1abe74 |
files | hgext/obsolete.py hgext/pushexperiment.py hgext/simple4server.py |
diffstat | 3 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 #####################################################################
--- 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