changeset 15882:fb63930592d6

mq: remove early wlock release in qnew It seems like something that missed the refactoring in 97b734fb9c6f.
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 11 Jan 2012 02:29:56 +0100
parents 3862369cf9b9
children 91d99f02b26f
files hgext/mq.py
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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])