changeset 703:439e57b724b6

import_git_objects: return number of commits imported This will be used in an upcoming patch.
author Siddharth Agarwal <sid0@fb.com>
date Tue, 04 Mar 2014 16:51:43 -0800
parents 178b15457927
children 4cddcb768cf4
files hggit/git_handler.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hggit/git_handler.py
+++ b/hggit/git_handler.py
@@ -647,6 +647,7 @@
         self.ui.progress('importing', None, total=total, unit='commits')
 
         # TODO if the tags cache is used, remove any dangling tag references
+        return total
 
     def import_git_commit(self, commit):
         self.ui.debug(_("importing: %s\n") % commit.id)