changeset 868:82467d4c4db8

gitrepo.listkeys: stop exporting commits before computing bookmarks This seems to be a holdover from the days when we used to fetch the entire pack from the Git server in listkeys. We don't do that any more, so this is also unnecessary.
author Siddharth Agarwal <sid0@fb.com>
date Thu, 05 Mar 2015 13:08:35 -0800
parents a3b12aa1bcd6
children 875112f4bf0d
files hggit/gitrepo.py
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hggit/gitrepo.py
+++ b/hggit/gitrepo.py
@@ -47,7 +47,6 @@
         elif namespace == 'bookmarks':
             if self.localrepo is not None:
                 handler = self.localrepo.githandler
-                handler.export_commits()
                 refs = handler.fetch_pack(self.path, heads=[])
                 # map any git shas that exist in hg to hg shas
                 stripped_refs = dict([