# HG changeset patch # User Alexis S. L. Carvalho # Date 1191695415 10800 # Node ID ad0b580cad35f682d5a7c20191f24f214efcfd02 # Parent 4c555dd167ddc9edbd95d284e2bf37ad2152be2a mercurial_sink: regrab locks in setbranch diff --git a/hgext/convert/hg.py b/hgext/convert/hg.py --- a/hgext/convert/hg.py +++ b/hgext/convert/hg.py @@ -88,6 +88,7 @@ class mercurial_sink(converter_sink): branchpath, rev=parents, update=False, stream=True) self.repo = hg.repository(self.ui, branchpath) + self.before() def putcommit(self, files, parents, commit): seen = {}