hg password not set correctly when contained in the url

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      I've configured my build job to poll from a hg repository and build when it detected changes.

      This failed because the authorization was not working correctly.

      To reproduce:

      For us the problem was that although the mercurial url contained username and password, the password did not get retained in the url in the .hg/hgrc config.

      i.e. it would read

      1. cat .hg/hgrc
        [paths]
        default = http://user@host/path/to/hg/

      instead of

      1. cat .hg/hgrc
        [paths]
        default = http://user:password@host/path/to/hg/

            Assignee:
            Jesse Glick
            Reporter:
            Martin Häcker
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: