##// END OF EJS Templates
context: fallback function should not return None
Benoit Boissinot -
r11143:e0a0af14 stable
parent child Browse files
Show More
@@ -685,7 +685,7 b' class workingctx(changectx):'
685 def findflag(ctx):
685 def findflag(ctx):
686 mnode = ctx.changeset()[0]
686 mnode = ctx.changeset()[0]
687 node, flag = self._repo.manifest.find(mnode, orig)
687 node, flag = self._repo.manifest.find(mnode, orig)
688 ff = self._repo.dirstate.flagfunc(lambda x: flag or None)
688 ff = self._repo.dirstate.flagfunc(lambda x: flag or '')
689 try:
689 try:
690 return ff(path)
690 return ff(path)
691 except OSError:
691 except OSError:
General Comments 0
You need to be logged in to leave comments. Login now