hg: hg unknown prints names of untracked files
1 files changed, 6 insertions(+), 0 deletions(-)

M hgrc
M hgrc +6 -0
@@ 365,6 365,12 @@ toecho = !
         echo "[paths]" &&
         echo "echo = $remote"
 
+# hg unknown: print names of unknown files
+# Uses debugfileset because I can't get `hg files 'set:unknown()' to print
+# anything.
+# Unlike in bash, * also matches hidden files.
+unknown = debugfileset 'unknown() and ./*'
+
 # hg versions:
 # Place multiple versions of file in directory, for easy comparison when
 # resolving conflicts.