# HG changeset patch # User Matt Mackall # Date 1214505994 18000 # Node ID 8b8a196602ac0747339fb4fa6d6d0c1751feed35 # Parent 235800d4708a872828c537db6e1749c54e9c6cec 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] diff -r 235800d4708a -r 8b8a196602ac hgkw/keyword.py --- 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 ()