From Kaminar at seznam.cz Mon Feb 3 17:23:34 2025 From: Kaminar at seznam.cz (Kaminar) Date: Mon, 03 Feb 2025 18:23:34 +0100 (CET) Subject: Ignoring files without extension Message-ID: <1gA.ThUP.10UU65FYk2M.1deFkM@seznam.cz> Hi, I need help with the ignoring files. I would like to ignore files without extension in the specified directory and not in its subdirectories. For example, the content of the repository is: file file.txt dir/file dir/file.txt dir/sub/file dir/sub/file.txt Ignore file ".hgignore" is: syntax: regexp ^dir/[^/.]+$ The output of "hg status -i" shows: I dir/file I dir/sub/file I dir/sub/file.txt In this case, I only want to ignore the file "dir/file". However, Mercurial also ignores all files in the subdirectory "dir/sub". Could you help me find where the problem is? Regards, Karel -------------- next part -------------- An HTML attachment was scrubbed... URL: