changeset 13032 | e41e2b79883d |
parent 13031 | 3da456d0c885 |
child 13048 | e298cca2d53a |
--- a/hgext/bookmarks.py Mon Nov 22 18:15:58 2010 +0100 +++ b/hgext/bookmarks.py Mon Nov 22 12:43:31 2010 -0600 @@ -348,14 +348,12 @@ return result def addchangegroup(self, *args, **kwargs): - parents = self.dirstate.parents() - result = super(bookmark_repo, self).addchangegroup(*args, **kwargs) if result > 1: # We have more heads than before return result node = self.changelog.tip() - + parents = self.dirstate.parents() self._bookmarksupdate(parents, node) return result