--- a/mercurial/bundlerepo.py Mon Mar 23 13:12:03 2009 +0100
+++ b/mercurial/bundlerepo.py Mon Mar 23 13:12:07 2009 +0100
@@ -10,10 +10,10 @@
of the GNU General Public License, incorporated herein by reference.
"""
-from node import hex, nullid, short
+from node import nullid
from i18n import _
import changegroup, util, os, struct, bz2, zlib, tempfile, shutil, mdiff
-import repo, localrepo, changelog, manifest, filelog, revlog, context, error
+import localrepo, changelog, manifest, filelog, revlog, error
class bundlerevlog(revlog.revlog):
def __init__(self, opener, indexfile, bundlefile,
@@ -158,7 +158,7 @@
localrepo.localrepository.__init__(self, ui, path)
except error.RepoError:
self._tempparent = tempfile.mkdtemp()
- tmprepo = localrepo.instance(ui,self._tempparent,1)
+ localrepo.instance(ui,self._tempparent,1)
localrepo.localrepository.__init__(self, ui, self._tempparent)
if path: