Mercurial > hg
changeset 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 | e3dffbdc6522 |
children | 47a8ea1eb2c3 |
files | hgext/convert/hg.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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