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 | 1580 | if wc is None: |
|
1577 | 1581 | wc = repo[None] |
|
1578 | 1582 | pl = wc.parents() |
General Comments 0
You need to be logged in to leave comments.
Login now