diff --git a/hggit/git_handler.py b/hggit/git_handler.py index 49fe6806f0..888097a924 100644 --- a/hggit/git_handler.py +++ b/hggit/git_handler.py @@ -667,6 +667,7 @@ class GitHandler(object): else: want = [sha for ref, sha in refs.iteritems() if not ref.endswith('^{}')] + want = [x for x in want if x not in self.git] return want f, commit = self.git.object_store.add_pack() try: