diff --git a/mercurial/cmdutil.py b/mercurial/cmdutil.py --- a/mercurial/cmdutil.py +++ b/mercurial/cmdutil.py @@ -7,7 +7,7 @@ from node import hex, nullid, nullrev, short from i18n import _ -import os, sys, bisect, stat, errno, re, glob +import os, sys, errno, re, glob import mdiff, bdiff, util, templater, patch, error, encoding import match as _match diff --git a/mercurial/localrepo.py b/mercurial/localrepo.py --- a/mercurial/localrepo.py +++ b/mercurial/localrepo.py @@ -14,7 +14,7 @@ import util, extensions, hook, error import match as match_ import merge as merge_ from lock import release -import weakref, stat, errno, os, time, inspect, bisect +import weakref, stat, errno, os, time, inspect propertycache = util.propertycache class localrepository(repo.repository):