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

mercurial changelog displays changes from previous commit but not current

XMLWordPrintable

      when running a build, mercurial plugin retrieves changelog of current branch and displays latest changes in that branch.

      Building in workspace /var/lib/jenkins/jobs/it/jobs/sit/workspace
      [workspace] $ hg showconfig paths.default
      [workspace] $ hg pull --rev release
      pulling from /home/hg/it
      no changes found
      [workspace] $ hg update --clean --rev release
      13 files updated, 0 files merged, 0 files removed, 0 files unresolved
      [workspace] $ hg --config extensions.purge= clean --all
      [workspace] $ hg log --rev . --template {node}
      [workspace] $ hg log --rev . --template {rev}
      [workspace] $ hg log --rev 5b974cd24b9c3b650392b430a0e6418aaf60edd6
      changeset:   7030:5b974cd24b9c
      branch:      release
      user:        Justinas Urbanavicius
      date:        Tue Aug 09 11:02:55 2016 +0300
      summary:     Not quoting a scalar starting with the "%" indicator character is deprecated since Symfony 3.1 and will throw a ParseException in 4.0
      

      but the latest commit is actually not latest, the local change id displayed here is 7030, if i run in workspace:
      hg id -i -n
      746e3dd247cc 7031

      so the the latest is being checked out, but displayed changes are tip - 1
      projects changes display the information correctly.
      so currently displayed information is confusing

            jglick Jesse Glick
            gameshas Justinas Urbanavicius
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: