--- a/hgext/transplant.py Fri Jun 22 19:06:04 2007 -0300 +++ b/hgext/transplant.py Fri Jun 22 19:43:29 2007 -0300 @@ -96,8 +96,8 @@ diffopts = patch.diffopts(self.ui, opts) diffopts.git = True + wlock = repo.wlock() lock = repo.lock() - wlock = repo.wlock() try: for rev in revs: node = revmap[rev]