[Bug 4006] New: hgignore glob syntax not matching files with dashes in the name

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Jul 29 15:10:55 CDT 2013


http://bz.selenic.com/show_bug.cgi?id=4006

          Priority: normal
            Bug ID: 4006
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: hgignore glob syntax not matching files with dashes in
                    the name
          Severity: bug
    Classification: Unclassified
                OS: Linux
          Reporter: nixjdm at gmail.com
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.2.2
         Component: Mercurial
           Product: Mercurial

With glob syntax, I was trying to add a file with a dash in the name, such as:

folder/file-name.code

After a modification to the file, hg status still showed the file as modified,
not ignored. Removing the dash from the filename did work. Such as:

folder/file_name.code

This filename was successfully matched and ignored. I haven't found anything
indicating that this is the intentional behaviour of hgignore, so I post it as
a bug.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list