# HG changeset patch # User Matt Mackall # Date 1214505989 18000 # Node ID 235800d4708a872828c537db6e1749c54e9c6cec # Parent 1dfcc2e2cdb3212004896e9be40a848638141733 use repo.changectx(None) to get a workingctx [ original upstream description] 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 ''