'export-marks',
]
- def __init__(self, bzrdir, params=None, verbose=False,
+ def __init__(self, bzrdir, params=None, verbose=False, outf=None,
prune_empty_dirs=True):
processor.ImportProcessor.__init__(self, bzrdir, params, verbose)
self.prune_empty_dirs = prune_empty_dirs
def pre_process(self):
+ self.note("Starting import ...")
self._start_time = time.time()
self._load_info_and_params()
self.cache_mgr = cache_manager.CacheManager(self.info, self.verbose,
marks_file.export_marks(self.params.get("export-marks"),
self.cache_mgr.revision_ids)
+ if self.cache_mgr.last_ref == None:
+ """Nothing to refresh"""
+ return
+
# Update the branches
self.note("Updating branch information ...")
updater = branch_updater.BranchUpdater(self.repo, self.branch,