diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2011-04-11 13:58:09 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2011-04-11 13:58:09 +0200 |
commit | 17f17c20f8b5349e0f428c989da22f632014abd2 (patch) | |
tree | 088f134988d813c89e7f7320baa2587a7c86ee70 | |
parent | c188112faa0f087038d2908ca2e99a7bb0b26d68 (diff) | |
download | bzr-fastimport-17f17c20f8b5349e0f428c989da22f632014abd2.tar.gz |
Fix knitpack repo import.
-rw-r--r-- | processors/generic_processor.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/processors/generic_processor.py b/processors/generic_processor.py index 0fbdb6f..da0a673 100644 --- a/processors/generic_processor.py +++ b/processors/generic_processor.py @@ -25,7 +25,7 @@ from bzrlib import ( osutils, progress, ) -from bzrlib.repofmt import pack_repo +from bzrlib.repofmt import knitpack_repo from bzrlib.trace import ( mutter, note, @@ -173,7 +173,7 @@ class GenericProcessor(processor.ImportProcessor): # Disable autopacking if the repo format supports it. # THIS IS A HACK - there is no sanctioned way of doing this yet. - if isinstance(self.repo, pack_repo.KnitPackRepository): + if isinstance(self.repo, knitpack_repo.KnitPackRepository): self._original_max_pack_count = \ self.repo._pack_collection._max_pack_count def _max_pack_count_for_import(total_revisions): |