[Bug 4008] New: hgignore backreferences don't work properly
mercurial-bugs at selenic.com
mercurial-bugs at selenic.com
Thu Aug 1 11:47:16 CDT 2013
http://bz.selenic.com/show_bug.cgi?id=4008
Priority: normal
Bug ID: 4008
CC: mercurial-devel at selenic.com
Assignee: bugzilla at selenic.com
Summary: hgignore backreferences don't work properly
Severity: bug
Classification: Unclassified
OS: Linux
Reporter: ehaszla at transunion.com
Hardware: All
Status: UNCONFIRMED
Version: 2.6.3
Component: Mercurial
Product: Mercurial
Using backreferences in the .hgignore file only works properly on the first
line that uses one. For instance, with this sequence of patterns in .hgignore:
foo/(.*)/\1$
bar/(.*)/\1$
Files like "foo/myfile/myfile" get ignored, but "bar/otherfile/otherfile" still
show up.
Using relative backreferences like \g{-1} or named backreferences like
"foo/(?<foo>.*)/\k{<foo>}$" doesn't work either.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list