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



_______________________________________________
Mercurial mailing list
Mercurial@lists.mercurial-scm.org
https://lists.mercurial-scm.org/mailman/listinfo/mercurial

Reply via email to