summaryrefslogtreecommitdiff
path: root/exporter.py
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2010-12-11 22:27:52 +0100
committerJelmer Vernooij <jelmer@samba.org>2010-12-11 22:27:52 +0100
commitf20da2d24698c44ea320feda69fdf988568e6769 (patch)
tree555c0ea3af6fe778de181792ed88eb28e4595e94 /exporter.py
parent1bd92b8ae760d6ed8f47c5b74bbdcd2eba6580ba (diff)
parentb42f5e0a791a31cc336e2e797df8d7811e283d1f (diff)
downloadbzr-fastimport-f20da2d24698c44ea320feda69fdf988568e6769.tar.gz
Merge in Ian's new mark file format branch, add support for still reading old style marks files.
Diffstat (limited to 'exporter.py')
-rw-r--r--exporter.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/exporter.py b/exporter.py
index 68f5cde..3f477d1 100644
--- a/exporter.py
+++ b/exporter.py
@@ -103,8 +103,9 @@ class BzrFastExporter(object):
marks_info = marks_file.import_marks(self.import_marks_file)
if marks_info is not None:
self.revid_to_mark = dict((r, m) for m, r in
- marks_info[0].items())
- self.branch_names = marks_info[1]
+ marks_info.items())
+ # These are no longer included in the marks file
+ #self.branch_names = marks_info[1]
def interesting_history(self):
if self.revision:
@@ -193,8 +194,7 @@ class BzrFastExporter(object):
def _save_marks(self):
if self.export_marks_file:
revision_ids = dict((m, r) for r, m in self.revid_to_mark.items())
- marks_file.export_marks(self.export_marks_file, revision_ids,
- self.branch_names)
+ marks_file.export_marks(self.export_marks_file, revision_ids)
def is_empty_dir(self, tree, path):
path_id = tree.path2id(path)