def dump_stats(self):
     time_required = progress.str_tdelta(time.time() - self._start_time)
     rc = self._revision_count - self.skip_total
     bc = self._branch_count
     wtc = self._tree_count
     self.note("Imported %d %s, updating %d %s and %d %s in %s",
         rc, helpers.single_plural(rc, "revision", "revisions"),
         bc, helpers.single_plural(bc, "branch", "branches"),
         wtc, helpers.single_plural(wtc, "tree", "trees"),
         time_required)
예제 #2
0
 def dump_stats(self):
     time_required = progress.str_tdelta(time.time() - self._start_time)
     rc = len(self.revid_to_mark)
     self.note("Exported %d %s in %s",
         rc, single_plural(rc, "revision", "revisions"),
         time_required)