simplify flag handling
add _checklink var to dirstate
introduce dirstate.flagfunc
switch users of util.execfunc/linkfunc to flagfunc
change manifestdict.set to take a flags string
change ctx.fileflags to ctx.flags
change gitmode func to a dict
remove util.execfunc/linkfunc
[ original upstream description]
--- a/hgkw/keyword.py Thu Jun 26 13:46:29 2008 -0500
+++ b/hgkw/keyword.py Thu Jun 26 13:46:34 2008 -0500
@@ -389,7 +389,7 @@
files += unknown
files.sort()
wctx = repo.changectx(None)
- islink = lambda p: 'l' in wctx.fileflags(p)
+ islink = lambda p: 'l' in wctx.flags(p)
kwfiles = [f for f in files if kwt.iskwfile(f, islink)]
cwd = pats and repo.getcwd() or ''
kwfstats = not opts.get('ignore') and (('K', kwfiles),) or ()