##// END OF EJS Templates
amend: fix unlocking order - first lock then wlock
Mads Kiilerich -
r19024:ab04e87a default
parent child Browse files
Show More
@@ -1790,7 +1790,7 b' def amend(ui, repo, commitfunc, old, ext'
1790 finally:
1790 finally:
1791 if newid is None:
1791 if newid is None:
1792 repo.dirstate.invalidate()
1792 repo.dirstate.invalidate()
1793 lockmod.release(wlock, lock)
1793 lockmod.release(lock, wlock)
1794 return newid
1794 return newid
1795
1795
1796 def commiteditor(repo, ctx, subs):
1796 def commiteditor(repo, ctx, subs):
General Comments 0
You need to be logged in to leave comments. Login now