Uploaded image for project: 'FishEye'
  1. FishEye
  2. FE-2703

Hg: Repository cannot be scanned if verbose output is enabled in ~/.hgrc

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.4.0
    • 2.3.5
    • None

    Description

      In the hgfelog python extension we offer both a short and long format. If you add verbose = true to the [ui] section of .hgrc mercurial will default to verbose output. e.g:

      [amyers@erdinger:~]$ cat ~/.hgrc
      [extensions] 
      felog= ~/.hgextensions/hgfelog/hgfelog.py 
      
      [ui]
      verbose = true

      FishEye will then blow up whenever it tries to scan a repo:

      Caused by: java.lang.RuntimeException: Match failed: string [Commit Id:     5215cd7abee844d1fc70907f3be2586504e7b645], pattern [C:([0-9a-fA-F]{40})]
              at com.atlassian.fisheye.hg.client.HgChangeParser.doProcessLine(HgChangeParser.java:192)
              at com.atlassian.fisheye.dvcs.handler.DvcsLineOutputHandler.processLine(DvcsLineOutputHandler.java:19)
              at com.atlassian.fisheye.plugins.scm.utils.process.LineOutputHandler.process(LineOutputHandler.java:39)
              at com.atlassian.fisheye.plugins.scm.utils.process.PluggableProcessHandler.processOutput(PluggableProcessHandler.java:29)
              at com.atlassian.fisheye.plugins.scm.utils.process.ExternalProcess$4.doTask(ExternalProcess.java:166)
              ... 4 more

      We only take into account the short format in HgChangeParser.

      Attachments

        Issue Links

          Activity

            People

              mwatson@atlassian.com mwatson
              andrew.myers Andrew Myers [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: