hgext/keyword.py
changeset 6740 b148e9099133
parent 6739 c9fbd6ec3489
child 6743 86e8187b721a
--- a/hgext/keyword.py	Wed Jun 25 17:35:20 2008 -0500
+++ b/hgext/keyword.py	Thu Jun 26 13:46:29 2008 -0500
@@ -386,7 +386,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 ''