[Bug 5895] New: Catch and explain the sudo case

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Fri May 25 21:22:34 UTC 2018


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

            Bug ID: 5895
           Summary: Catch and explain the sudo case
           Product: Mercurial
           Version: 4.6
          Hardware: PC
                OS: Linux
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: Mercurial
          Assignee: bugzilla at mercurial-scm.org
          Reporter: sushilkhanchi97 at gmail.com
                CC: mercurial-devel at mercurial-scm.org

If I run a command using sudo for example:
`sudo ./run-tests.py test-check-help.t --local` it gives following output:

"not trusting file /home/khanchi/hg/hg-phase/.hg/hgrc from untrusted user
khanchi, group khanchi"

which is not explaining that it is because of 'sudo' who is second user. We can
improve this reporting.

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


More information about the Mercurial-devel mailing list