Mercurial > public > mercurial-scm > hg
diff hgext/convert/hg.py @ 5052:a11e8a181bd5
convert: fix locking order
author | Alexis S. L. Carvalho <alexis@cecm.usp.br> |
---|---|
date | Thu, 02 Aug 2007 01:56:08 -0300 |
parents | 8f157190075e |
children | ef338e34a906 |
line wrap: on
line diff
--- a/hgext/convert/hg.py Thu Aug 02 01:56:08 2007 -0300 +++ b/hgext/convert/hg.py Thu Aug 02 01:56:08 2007 -0300 @@ -27,8 +27,8 @@ self.branchnames = ui.configbool('convert', 'hg.usebranchnames', True) def before(self): + self.wlock = self.repo.wlock() self.lock = self.repo.lock() - self.wlock = self.repo.wlock() def after(self): self.lock = None