[PATCH 10 of 19] mq: remove early wlock release in qnew
Mads Kiilerich
mads at kiilerich.com
Thu Jan 12 19:32:44 CST 2012
# HG changeset patch
# User Mads Kiilerich <mads at kiilerich.com>
# Date 1326245396 -3600
# Node ID 1e3b731e80e32b016020932cea4e491bac2ba8f7
# Parent 83cdc87e4f3a0ef259d86201030137dda0cc0827
mq: remove early wlock release in qnew
It seems like something that missed the refactoring in 97b734fb9c6f.
diff --git a/hgext/mq.py b/hgext/mq.py
--- a/hgext/mq.py
+++ b/hgext/mq.py
@@ -968,8 +968,6 @@
for chunk in chunks:
p.write(chunk)
p.close()
- wlock.release()
- wlock = None
r = self.qrepo()
if r:
r[None].add([patchfn])
More information about the Mercurial-devel
mailing list