Show More
@@ -5947,7 +5947,7 def remove(ui, repo, *pats, **opts): | |||||
5947 | if not pats and not after: |
|
5947 | if not pats and not after: | |
5948 | raise error.InputError(_(b'no files specified')) |
|
5948 | raise error.InputError(_(b'no files specified')) | |
5949 |
|
5949 | |||
5950 | with repo.wlock(): |
|
5950 | with repo.wlock(), repo.dirstate.changing_files(repo): | |
5951 | m = scmutil.match(repo[None], pats, opts) |
|
5951 | m = scmutil.match(repo[None], pats, opts) | |
5952 | subrepos = opts.get(b'subrepos') |
|
5952 | subrepos = opts.get(b'subrepos') | |
5953 | uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=True) |
|
5953 | uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=True) |
General Comments 0
You need to be logged in to leave comments.
Login now