[Bug 4141] New: debuginstall should warn user if PATH contains multiple hg's

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Tue Dec 31 00:41:20 CST 2013


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

          Priority: normal
            Bug ID: 4141
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: debuginstall should warn user if PATH contains
                    multiple hg's
          Severity: feature
    Classification: Unclassified
                OS: All
          Reporter: chris.jerdonek at gmail.com
          Hardware: All
            Status: UNCONFIRMED
           Version: 2.8
         Component: Mercurial
           Product: Mercurial

"hg debuginstall" should warn the user if multiple hg's are found in the user's
PATH.  This suggestion is from a posting by Matt on the mercurial-devel mailing
list earlier today:

"While we're on the topic of debuginstall, it would be useful to check if
there are multiple copies of 'hg' (or sys.argv[0]) in the path, as users
of a certain fruit-themed operating system are extremely prone to
simultaneously installing different versions from different sources or
package managers:

    $ hg debuginstall
    checking hg path (/usr/bin/hg)...
     warning! multiple installs of hg detected:
      /usr/bin/hg
      /opt/bin/hg
      /some/crappy/pypi/thing/hg
      ...

(from
http://www.selenic.com/pipermail/mercurial-devel/2013-December/055398.html )

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


More information about the Mercurial-devel mailing list