# HG changeset patch # User Christian Ebert # Date 1199702931 -3600 # Node ID f5154819a11b91772c1373189e8ca96634b54615 # Parent 06f3c6b3dd93aa13c93492859f8379961d1468a1 Just add unknown kwfiles candidates when untracked option is given diff -r 06f3c6b3dd93 -r f5154819a11b hgkw/keyword.py --- a/hgkw/keyword.py Mon Jan 07 11:27:41 2008 +0100 +++ b/hgkw/keyword.py Mon Jan 07 11:48:51 2008 +0100 @@ -362,10 +362,9 @@ ''' status = _status(ui, repo, *pats, **opts) modified, added, removed, deleted, unknown, ignored, clean = status + files = modified + added + clean if opts.get('untracked'): - files = modified + added + unknown + clean - else: - files = modified + added + clean + files += unknown files.sort() kwfiles = [f for f in files if _iskwfile(f, repo._link)] cwd = pats and repo.getcwd() or ''