context: fix bug introduced in f2d764a0939e, path should be used

This commit is contained in:
Benoit Boissinot 2010-04-16 01:57:32 +02:00
parent a81e6a76a5
commit 788c113d09

View File

@ -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