Show More
@@ -1552,6 +1552,11 b' def scmutiladdremove(' | |||||
1552 | opts = {} |
|
1552 | opts = {} | |
1553 | if not lfutil.islfilesrepo(repo): |
|
1553 | if not lfutil.islfilesrepo(repo): | |
1554 | return orig(repo, matcher, prefix, uipathfn, opts, open_tr=open_tr) |
|
1554 | return orig(repo, matcher, prefix, uipathfn, opts, open_tr=open_tr) | |
|
1555 | ||||
|
1556 | # open the transaction and changing_files context | |||
|
1557 | if open_tr is not None: | |||
|
1558 | open_tr() | |||
|
1559 | ||||
1555 | # Get the list of missing largefiles so we can remove them |
|
1560 | # Get the list of missing largefiles so we can remove them | |
1556 | lfdirstate = lfutil.openlfdirstate(repo.ui, repo) |
|
1561 | lfdirstate = lfutil.openlfdirstate(repo.ui, repo) | |
1557 | unsure, s, mtime_boundary = lfdirstate.status( |
|
1562 | unsure, s, mtime_boundary = lfdirstate.status( | |
@@ -1562,10 +1567,6 b' def scmutiladdremove(' | |||||
1562 | unknown=False, |
|
1567 | unknown=False, | |
1563 | ) |
|
1568 | ) | |
1564 |
|
1569 | |||
1565 | # open the transaction and changing_files context |
|
|||
1566 | if open_tr is not None: |
|
|||
1567 | open_tr() |
|
|||
1568 |
|
||||
1569 | # Call into the normal remove code, but the removing of the standin, we want |
|
1570 | # Call into the normal remove code, but the removing of the standin, we want | |
1570 | # to have handled by original addremove. Monkey patching here makes sure |
|
1571 | # to have handled by original addremove. Monkey patching here makes sure | |
1571 | # we don't remove the standin in the largefiles code, preventing a very |
|
1572 | # we don't remove the standin in the largefiles code, preventing a very |
General Comments 0
You need to be logged in to leave comments.
Login now