Show More
@@ -2966,7 +2966,7 b' def forget(ui, repo, *pats, **opts):' | |||||
2966 | if not pats: |
|
2966 | if not pats: | |
2967 | raise error.InputError(_(b'no files specified')) |
|
2967 | raise error.InputError(_(b'no files specified')) | |
2968 |
|
2968 | |||
2969 | with repo.wlock(): |
|
2969 | with repo.wlock(), repo.dirstate.changing_files(repo): | |
2970 | m = scmutil.match(repo[None], pats, opts) |
|
2970 | m = scmutil.match(repo[None], pats, opts) | |
2971 | dryrun, interactive = opts.get(b'dry_run'), opts.get(b'interactive') |
|
2971 | dryrun, interactive = opts.get(b'dry_run'), opts.get(b'interactive') | |
2972 | uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=True) |
|
2972 | uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=True) |
General Comments 0
You need to be logged in to leave comments.
Login now