Mercurial embedded Mercurial.ini bad web.cacerts

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Low
    • None
    • Affects Version/s: 1.5.2, 1.9.2-beta-0
    • Component/s: Mercurial
    • Environment:

      Windows 8.1, SourceTree for Windows, Mercurial Embedded, javac 1.7.0_45

    • Severity 3 - Minor

      Mercurial Embedded requires a config update on web.cacerts.

      It should point to:
      C:\Users\<user>\AppData\Local\Atlassian\SourceTree\hg_local\cacert.pem

      Instead it points to:
      C:\Program Files (x86)\Mercurial\cacert.pem

      Which doesn't exist.

      I have Mercurial Embedded in my PATH (also Git Embedded) and I got no problems until now. I use it through Go's "go get" CLI.

      $ go get code.google.com/p/snappy-go/snappy
      # cd .; hg clone -U https://code.google.com/p/snappy-go D:\<go_code_path>\src\code.google.com\p\snappy-go
      abort: could not find web.cacerts: C:\Program Files (x86)\Mercurial\cacert.pem
      

      So I dug in, found that path didn't exist and manually updated Mercurial.ini, problem solved.

      Hope it helps.

            Assignee:
            Steve Streeting (Inactive)
            Reporter:
            Carlos Cobo
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: