mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 23:07:18 +03:00
fbamend: remove troublesome tr.release()
Summary: `tr` could be None and `tr.release()` there is causing issues. The next line actually checks `tr` and call `tr.release()` if `tr` is not None. Test Plan: arc unit Reviewers: #mercurial, wez Reviewed By: wez Subscribers: medson, mjpieters Differential Revision: https://phabricator.intern.facebook.com/D5314538 Signature: t1:5314538:1498255892:084e1f5f1521ff7794be43b24510d2b54bf2148e
This commit is contained in:
parent
fbd87d6923
commit
17886e370b
@ -118,7 +118,6 @@ def split(ui, repo, *revs, **opts):
|
||||
common.restackonce(ui, repo, top, inhibithack=True)
|
||||
tr.close()
|
||||
finally:
|
||||
tr.release()
|
||||
lockmod.release(tr, lock, wlock)
|
||||
|
||||
# clean up possibly incorrect rebasestate
|
||||
|
Loading…
Reference in New Issue
Block a user