[Bug 4473] New: ignore path is relative to current directory

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Mon Dec 15 17:32:05 UTC 2014


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

          Priority: normal
            Bug ID: 4473
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: ignore path is relative to current directory
          Severity: bug
    Classification: Unclassified
                OS: Mac OS
          Reporter: alexreg at gmail.com
          Hardware: Macintosh
            Status: UNCONFIRMED
           Version: 3.2.1
         Component: Mercurial
           Product: Mercurial

Any path specified as an "ignore" value in the UI section of an hgrc file is
interpreted as relative to the current directory, when it really makes a lot
more sense (and is certainly more useful to repository maintainers) to make it
relative to the hgrc file itself. This ensures more predictable and reliable
behaviour.

For example, consider the situation specified in
http://mercurial.selenic.com/wiki/TipsAndTricks#Ignore_files_in_local_working_copy_only.
The problem mentioned in the bracketed sentence (of having to specify the
absolute path to a repo-specific user hgignore file) would be solved by the
proposed relative path behaviour.

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


More information about the Mercurial-devel mailing list