[Bug 5848] New: rootfilesin: doesn't appear to work in the ignore file
mercurial-bugs at mercurial-scm.org
mercurial-bugs at mercurial-scm.org
Fri Apr 20 15:58:49 UTC 2018
https://bz.mercurial-scm.org/show_bug.cgi?id=5848
Bug ID: 5848
Summary: rootfilesin: doesn't appear to work in the ignore file
Product: Mercurial
Version: 4.6rc0
Hardware: All
OS: All
Status: UNCONFIRMED
Severity: feature
Priority: wish
Component: Mercurial
Assignee: bugzilla at mercurial-scm.org
Reporter: matt_harbison at yahoo.com
CC: mercurial-devel at mercurial-scm.org
We've got a repo where files in a directory should be ignored, but
subdirectories (and their files) shouldn't be. Example:
IMA/ignore.txt
IMA/ignore2
IMA/subdir/show.bin
I tried:
re:^IMA/[^/]+$
But show.bin is ignored because it ignores 'subdir'. (debugignore prints out a
message to that effect.) That got me to try 'rootfilesin:IMA', which has no
effect (neither file is ignored). I also tried 'subinclude:IMA/.hgignore', and
putting 'rootfilesin:.' there, but that didn't ignore anything either.
(I have no idea why the repo directory is populated this way, other than bzr
allowed non recursive ignore. Since rootfilesin doesn't seem to be doing
anything, maybe we can make it work without a BC.)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Mercurial-devel
mailing list