Submitter | Yuya Nishihara |
---|---|
Date | Nov. 5, 2015, 3:33 p.m. |
Message ID | <20151106003306.34f60deab5c8afb945d61d25@tcha.org> |
Download | mbox | patch |
Permalink | /patch/11298/ |
State | Not Applicable |
Headers | show |
Comments
Patch
diff --git a/hgext/histedit.py b/hgext/histedit.py --- a/hgext/histedit.py +++ b/hgext/histedit.py @@ -541,9 +541,11 @@ class execute(histeditaction): self._getinterventionmsg( _('Execution of "%s" failed.') % self.cmd)) finally: + oldwlock = self.state.wlock self.state.wlock = repo.wlock(times=wlockheld) self.state.lock = repo.lock(times=lockheld) repo.invalidateall() + assert oldwlock is self.state.wlock if return_code == 0: if _isdirtywc(repo):