From 0428a10ad5cbea3885063a685929ef067d2a07b2 Mon Sep 17 00:00:00 2001 From: Siddharth Agarwal Date: Tue, 4 Mar 2014 16:51:43 -0800 Subject: [PATCH] import_git_objects: return number of commits imported This will be used in an upcoming patch. --- hggit/git_handler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/hggit/git_handler.py b/hggit/git_handler.py index 7eb87020a3..74a1c54ed8 100644 --- a/hggit/git_handler.py +++ b/hggit/git_handler.py @@ -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)