Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-66997

.hg/hgrc corrupted by mercurial plugin and ini4j - always re-clones

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • mercurial-plugin
    • None
    • Jenkins 2.303.2
      Mercurial Plugin 2.15
      Ubuntu 20.04

      In .hg/hgrc , paths.default is incorrectly escaped, eg:

      default = ssh\://x.y.z\:4433

      instead of:

      default = ssh://x.y.z:4433

      This causes the plugin to always choose to re-clone the workspace instead of using the existing.

      Problem identified in mercurial plugin (MercurialSCM.java), and a naive fix to disable escaping in ini4j is attached (patched version is now being used locally).

            Unassigned Unassigned
            chupa Simon Gittins
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: