https://bz.mercurial-scm.org/show_bug.cgi?id=6514

            Bug ID: 6514
           Summary: hg status --include with regex does not work correctly
                    with Rust extensions
           Product: Mercurial
           Version: stable branch
          Hardware: All
                OS: Linux
            Status: UNCONFIRMED
          Severity: bug
          Priority: wish
         Component: Mercurial
          Assignee: bugzi...@mercurial-scm.org
          Reporter: mercur...@lukegb.com
                CC: mercurial-devel@mercurial-scm.org
    Python Version: ---

From my understanding: a .hgignore which matches a folder combined with using
hg status --ignored --include '<expression>' doesn't seem to compose properly.

I experienced this on the 5.8 release tarball.

This seems similar to https://bz.mercurial-scm.org/show_bug.cgi?id=6483, but
the changeset that fixed that has definitely landed in this change.

My test case is https://gist.github.com/lukegb/fd7b67e301b65805f65ddc3cd0b1c66c
(which is an adapted copy of this test to make it easier to read:
https://github.com/facebookincubator/retrie/blob/master/tests/Ignore.hs#L43-L52)

This was prompted by observing that the tests for
https://github.com/facebookincubator/retrie don't pass when using a version of
Mercurial with the Rust extensions enabled (as part of an effort to compile the
Rust extensions for Mercurial in NixOS).

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel

Reply via email to