mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 15:27:13 +03:00
context: fix bug introduced in f2d764a0939e, path should be used
This commit is contained in:
parent
a81e6a76a5
commit
788c113d09
@ -687,7 +687,7 @@ class workingctx(changectx):
|
||||
node, flag = self._repo.manifest.find(mnode, orig)
|
||||
ff = self._repo.dirstate.flagfunc(lambda x: flag or None)
|
||||
try:
|
||||
return ff(orig)
|
||||
return ff(path)
|
||||
except OSError:
|
||||
pass
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user