mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 16:31:02 +03:00
import_git_objects: return number of commits imported
This will be used in an upcoming patch.
This commit is contained in:
parent
e41aded84e
commit
0428a10ad5
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user