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

Option to run Hg with --debug

    XMLWordPrintable

Details

    • New Feature
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • mercurial-plugin
    • None
    • Platform: All, OS: All

    Description

      When Hudson jobs fail or hang due to inexplicable Mercurial errors, it would be
      very helpful to get debug output from Mercurial. Most commands use --quiet to
      suppress irrelevant output from the build log. Should have a global (or
      per-tool?) option to run with --verbose or --debug.

      In a few cases, the launcher has to override this anyway; e.g. Hg 0.9.x has a
      bug requiring --debug for incoming to work correctly.

      Attachments

        Activity

          jglick Jesse Glick added a comment -

          .

          jglick Jesse Glick added a comment - .

          Code changed in hudson
          User: : jglick
          Path:
          trunk/hudson/plugins/mercurial/src/main/java/hudson/plugins/mercurial/MercurialInstallation.java
          trunk/hudson/plugins/mercurial/src/main/java/hudson/plugins/mercurial/MercurialSCM.java
          trunk/hudson/plugins/mercurial/src/main/resources/hudson/plugins/mercurial/MercurialInstallation/config.jelly
          trunk/hudson/plugins/mercurial/src/main/resources/hudson/plugins/mercurial/MercurialInstallation/help-debug.html
          trunk/hudson/plugins/mercurial/src/test/java/hudson/plugins/mercurial/DebugFlagTest.java
          trunk/hudson/plugins/mercurial/src/test/java/hudson/plugins/mercurial/ForestTest.java
          trunk/hudson/plugins/mercurial/src/test/java/hudson/plugins/mercurial/MercurialSCMTest.java
          http://fisheye4.cenqua.com/changelog/hudson/?cs=24258
          Log:
          [FIXED JENKINS-4672] Option to run hg --debug.

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in hudson User: : jglick Path: trunk/hudson/plugins/mercurial/src/main/java/hudson/plugins/mercurial/MercurialInstallation.java trunk/hudson/plugins/mercurial/src/main/java/hudson/plugins/mercurial/MercurialSCM.java trunk/hudson/plugins/mercurial/src/main/resources/hudson/plugins/mercurial/MercurialInstallation/config.jelly trunk/hudson/plugins/mercurial/src/main/resources/hudson/plugins/mercurial/MercurialInstallation/help-debug.html trunk/hudson/plugins/mercurial/src/test/java/hudson/plugins/mercurial/DebugFlagTest.java trunk/hudson/plugins/mercurial/src/test/java/hudson/plugins/mercurial/ForestTest.java trunk/hudson/plugins/mercurial/src/test/java/hudson/plugins/mercurial/MercurialSCMTest.java http://fisheye4.cenqua.com/changelog/hudson/?cs=24258 Log: [FIXED JENKINS-4672] Option to run hg --debug.

          People

            jglick Jesse Glick
            jglick Jesse Glick
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: