diff -r 1dfcc2e2cdb3 -r 235800d4708a hgkw/keyword.py --- a/hgkw/keyword.py Wed Jun 25 17:35:20 2008 -0500 +++ b/hgkw/keyword.py Thu Jun 26 13:46:29 2008 -0500 @@ -388,7 +388,7 @@ if opts.get('untracked'): files += unknown files.sort() - wctx = repo.workingctx() + wctx = repo.changectx(None) islink = lambda p: 'l' in wctx.fileflags(p) kwfiles = [f for f in files if kwt.iskwfile(f, islink)] cwd = pats and repo.getcwd() or ''