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

Mercurial repository is always cloned instead of being updated

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: mercurial-plugin
    • Labels:
      None
    • Environment:
      Linux, Jenkis 1.506, Mercurial extension v. 1.44, mercurial 2.2
    • Similar Issues:

      Description

      My system-level hgrc file sets debug to on:

      hg showconfig|grep ui.debug
      /etc/mercurial/hgrc:28: ui.debug=true

      This seems to cause problems when parsing the output of hg.

      Here's the log output:

      13:25:37 Building remotely on myslave in workspace /var/data/jenkins-slave/workspace/MYJOB-2.8.4
      13:25:38 $ hg clone --rev 2.8.4 --noupdate http://mymercurialrepo.com.br/hg/main/myjob /var/data/jenkins-slave/workspace/MYJOB-2.8.4
      13:25:38 using http://mymercurialrepo.com.br/hg/main/myjob
      13:25:38 sending capabilities command
      13:25:38 sending lookup command
      13:25:38 query 1; heads
      13:25:38 sending batch command
      13:25:38 sending getbundle command
      13:25:38 adding changesets
      13:25:38 changesets: 1 chunks
      13:25:38 add changeset e1cfb9e9c39a
      13:25:38 changesets: 2 chunks
      [...]

        Attachments

          Issue Links

            Activity

            Hide
            elifarley Elifarley added a comment -

            Adding the "--quiet" option will probably fix it, as in:

            hg --quiet showconfig paths.default

            This way the output should be stable no matter what the system-level hgrc file says about ui.debug

            Show
            elifarley Elifarley added a comment - Adding the "--quiet" option will probably fix it, as in: hg --quiet showconfig paths.default This way the output should be stable no matter what the system-level hgrc file says about ui.debug

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                elifarley Elifarley
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: