D7570: match: resolve filesets against the passed `cwd`, not the current one

yuja (Yuya Nishihara) phabricator at mercurial-scm.org
Sat Dec 14 04:28:04 EST 2019


yuja added a comment.


  >   In D7570#112206 <https://phab.mercurial-scm.org/D7570#112206>, @yuja wrote:
  >   Good catch.  I don't see the meaning of b'' in this context defined anywhere.  But since `subinclude:` uses it to define the matcher, I'm assuming that's all of the adjustment we need?
  
  It's basically the value meaning `cwd == repo.root`. See dirstate.getcwd().

REPOSITORY
  rHG Mercurial

BRANCH
  default

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D7570/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D7570

To: mharbison72, #hg-reviewers, durin42
Cc: durin42, hooper, yuja, martinvonz, mercurial-devel


More information about the Mercurial-devel mailing list