##// END OF EJS Templates
dirstate: use `dirstate.change_files` to scope the change in `revert`...
marmoute -
r50933:6cdcab3a default
parent child Browse files
Show More
@@ -3392,7 +3392,7 b' def revert(ui, repo, ctx, *pats, **opts)'
3392 names = {}
3392 names = {}
3393 uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=True)
3393 uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=True)
3394
3394
3395 with repo.wlock():
3395 with repo.wlock(), repo.dirstate.changing_files(repo):
3396 ## filling of the `names` mapping
3396 ## filling of the `names` mapping
3397 # walk dirstate to fill `names`
3397 # walk dirstate to fill `names`
3398
3398
General Comments 0
You need to be logged in to leave comments. Login now