Mercurial > public > mercurial-scm > hg-stable
diff hgext/mq.py @ 11230:5116a077c3da
make transactions work on non-refcounted python implementations
author | Ronny Pfannschmidt <Ronny.Pfannschmidt@gmx.de> |
---|---|
date | Thu, 27 May 2010 17:47:40 +0200 |
parents | 1e701ffd9df4 |
children | 1ebe048902d9 |
line wrap: on
line diff
--- a/hgext/mq.py Sat May 29 20:32:39 2010 +0200 +++ b/hgext/mq.py Thu May 27 17:47:40 2010 +0200 @@ -613,8 +613,7 @@ repo.dirstate.invalidate() raise finally: - del tr - release(lock, wlock) + release(tr, lock, wlock) self.removeundo(repo) def _apply(self, repo, series, list=False, update_status=True,