Show More
@@ -331,7 +331,7 b' def addremove(ui, repo, *pats, **opts):' | |||||
331 | opts = pycompat.byteskwargs(opts) |
|
331 | opts = pycompat.byteskwargs(opts) | |
332 | if not opts.get(b'similarity'): |
|
332 | if not opts.get(b'similarity'): | |
333 | opts[b'similarity'] = b'100' |
|
333 | opts[b'similarity'] = b'100' | |
334 | with repo.wlock(): |
|
334 | with repo.wlock(), repo.dirstate.changing_files(repo): | |
335 | matcher = scmutil.match(repo[None], pats, opts) |
|
335 | matcher = scmutil.match(repo[None], pats, opts) | |
336 | relative = scmutil.anypats(pats, opts) |
|
336 | relative = scmutil.anypats(pats, opts) | |
337 | uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=relative) |
|
337 | uipathfn = scmutil.getuipathfn(repo, legacyrelativevalue=relative) |
General Comments 0
You need to be logged in to leave comments.
Login now