changeset 10927:c1d375e93ee8 stable

context: fix bug introduced in fb89cd21a7a0, path should be used
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 16 Apr 2010 01:57:32 +0200
parents a101a743c570
children 377d879e9d1b
files mercurial/context.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/context.py	Thu Apr 15 21:59:21 2010 +0200
+++ b/mercurial/context.py	Fri Apr 16 01:57:32 2010 +0200
@@ -687,7 +687,7 @@
             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