[Bug 6710] New: Space after the subinclude: in ignore files

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Sat May 28 06:48:19 UTC 2022


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

            Bug ID: 6710
           Summary: Space after the subinclude: in ignore files
           Product: Mercurial
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: woljiri at gmail.com
                CC: mercurial-devel at mercurial-scm.org
    Python Version: ---

I would like to be able to add a space after the colon on subinclude:/include:
lines in ignore files. Like this:

  subinclude: dir/other-ignore-file

This breaks when the path to another ignore file actually starts with a space.
(I think that this is very rare situation.) I would also consider allowing
quotes ("") around the included file path or solving the space-related problem
by requiring it to be escaped using a backslash.

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


More information about the Mercurial-devel mailing list