hg kwfiles#

show files configured for keyword expansion#

hg kwfiles [OPTION]... [FILE]...

This command is provided by the keyword extension.

List which files in the working directory are matched by the [keyword] configuration patterns.

Useful to prevent inadvertent keyword expansion and to speed up execution by including only files that are actual candidates for expansion.

See `hg help keyword` on how to construct patterns both for inclusion and exclusion of files.

With -A/--all and -v/--verbose the codes used to show the status of files are:

K = keyword expansion candidate
k = keyword expansion candidate (not tracked)
I = ignored
i = ignored (not tracked)

Options

Every command accepts the global options.

-A

--all

show keyword status flags of all files

-i

--ignore

show files excluded from expansion

-u

--unknown

only show unknown (not tracked) files

-I

--include PATTERN [+]

include names matching the given patterns

-X

--exclude PATTERN [+]

exclude names matching the given patterns

--mq

operate on patch repository

Options marked [+] can be repeated.