mercurial/match.py
changeset 43965 8a81fa44f7bb
parent 43964 8f67735344ae
child 44002 d9d78e70149a
equal deleted inserted replaced
43964:8f67735344ae 43965:8a81fa44f7bb
   230     True
   230     True
   231     >>> m.exact(b'main.c')
   231     >>> m.exact(b'main.c')
   232     False
   232     False
   233     """
   233     """
   234     assert os.path.isabs(root)
   234     assert os.path.isabs(root)
   235     cwd = util.normpath(os.path.join(root, cwd))
   235     cwd = os.path.join(root, util.localpath(cwd))
   236     normalize = _donormalize
   236     normalize = _donormalize
   237     if icasefs:
   237     if icasefs:
   238         dirstate = ctx.repo().dirstate
   238         dirstate = ctx.repo().dirstate
   239         dsnormalize = dirstate.normalize
   239         dsnormalize = dirstate.normalize
   240 
   240