mercurial/context.py
changeset 11144 ca46910dd9ea
parent 11110 22f5ad0b5857
parent 11143 e0a0af140f2e
child 11151 c5c190822501
--- a/mercurial/context.py	Mon May 10 22:52:28 2010 +0200
+++ b/mercurial/context.py	Tue May 11 20:21:25 2010 +0200
@@ -724,7 +724,7 @@
         def findflag(ctx):
             mnode = ctx.changeset()[0]
             node, flag = self._repo.manifest.find(mnode, orig)
-            ff = self._repo.dirstate.flagfunc(lambda x: flag or None)
+            ff = self._repo.dirstate.flagfunc(lambda x: flag or '')
             try:
                 return ff(path)
             except OSError: