import_git_objects: return number of commits imported

This will be used in an upcoming patch.
This commit is contained in:
Siddharth Agarwal 2014-03-04 16:51:43 -08:00
parent e41aded84e
commit 0428a10ad5

View File

@ -647,6 +647,7 @@ class GitHandler(object):
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)