##// END OF EJS Templates
merge: don't grab wlock when merging in memory...
Martin von Zweigbergk -
r45536:d1471dbb default
parent child Browse files
Show More
@@ -1572,7 +1572,11 b' def update('
1572 ),
1572 ),
1573 )
1573 )
1574 )
1574 )
1575 with repo.wlock():
1575 if wc is not None and wc.isinmemory():
1576 maybe_wlock = util.nullcontextmanager()
1577 else:
1578 maybe_wlock = repo.wlock()
1579 with maybe_wlock:
1576 if wc is None:
1580 if wc is None:
1577 wc = repo[None]
1581 wc = repo[None]
1578 pl = wc.parents()
1582 pl = wc.parents()
General Comments 0
You need to be logged in to leave comments. Login now