mq: remove early wlock release in qnew
authorMads Kiilerich <mads@kiilerich.com>
Wed, 11 Jan 2012 02:29:56 +0100
changeset 15882 fb63930592d6
parent 15881 3862369cf9b9
child 15883 91d99f02b26f
mq: remove early wlock release in qnew It seems like something that missed the refactoring in 97b734fb9c6f.
hgext/mq.py
--- a/hgext/mq.py	Wed Jan 11 02:29:55 2012 +0100
+++ b/hgext/mq.py	Wed Jan 11 02:29:56 2012 +0100
@@ -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])