Commits

timeless  committed f008197

progress: use gerund form for import

  • Participants
  • Parent commits 23ca66e

Comments (0)

Files changed (1)

File hggit/git_handler.py

         export = [node for node in nodes if not hex(node) in self._map_hg]
         total = len(export)
         for i, rev in enumerate(export):
-            util.progress(self.ui, 'import', i, total=total)
+            util.progress(self.ui, 'importing', i, total=total)
             ctx = self.repo.changectx(rev)
             state = ctx.extra().get('hg-git', None)
             if state == 'octopus':
                               "of octopus explosion\n" % ctx.rev())
                 continue
             self.export_hg_commit(rev)
-        util.progress(self.ui, 'import', None, total=total)
+        util.progress(self.ui, 'importing', None, total=total)
 
 
     # convert this commit into git objects
         # import each of the commits, oldest first
         total = len(commits)
         for i, csha in enumerate(commits):
-            util.progress(self.ui, 'import', i, total=total, unit='commits')
+            util.progress(self.ui, 'importing', i, total=total, unit='commits')
             commit = convert_list[csha]
             self.import_git_commit(commit)
-        util.progress(self.ui, 'import', None, total=total, unit='commits')
+        util.progress(self.ui, 'importing', None, total=total, unit='commits')
 
     def import_git_commit(self, commit):
         self.ui.debug(_("importing: %s\n") % commit.id)