mercurial/cmdutil.py
changeset 50038 6cdcab3ae3fa
parent 50029 28dfb2df4ab9
child 50042 237e9d2e1c71
equal deleted inserted replaced
50037:46883d91e2b0 50038:6cdcab3ae3fa
  3390     # The mapping is in the form:
  3390     # The mapping is in the form:
  3391     #   <abs path in repo> -> (<path from CWD>, <exactly specified by matcher?>)
  3391     #   <abs path in repo> -> (<path from CWD>, <exactly specified by matcher?>)
  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 
  3399         interactive = opts.get(b'interactive', False)
  3399         interactive = opts.get(b'interactive', False)
  3400         wctx = repo[None]
  3400         wctx = repo[None]