changeset 869:875112f4bf0d

git_handler: stop exporting commits before performing a fetch While this has been done since the beginning of time, there's no apparent justification for it. If an imported commit works out to the same hash as an existing one, it simply won't be added to the revlog. The tests all continue to pass. There's already test coverage for reimporting commits in test-pull-after-strip.t. Also, gimport has worked this way all this while.
author Siddharth Agarwal <>
date Wed, 04 Mar 2015 23:52:11 -0800
parents 82467d4c4db8
children 6547d63aee4e
files hggit/
diffstat 1 files changed, 0 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/hggit/
+++ b/hggit/
@@ -227,7 +227,6 @@
     def fetch(self, remote, heads):
-        self.export_commits()
         refs = self.fetch_pack(remote, heads)
         remote_name = self.remote_name(remote)