Ticket #298 (closed defect: duplicate)

Opened 6 months ago

Last modified 4 months ago

mercurial changegroup.buildbot hook breaks with hg 1.0

Reported by: neomantra Assigned to:
Priority: major Milestone: undecided
Component: vc-support Version: 0.7.7
Keywords: Mercurial Cc: dustin

Description

When transitioning from mercurial 0.9.5 to 1.0, the changegroup.buildbot broke.

The changelog API had changed: http://selenic.com/repo/index.cgi/hg-stable/rev/9db7fd77417d

The fix, which makes no provision to support older mercurial versions is to take the current version of change/hgbuildbot.py and change line 86 from:

changeset=repo.changelog.extract(repo.changelog.revision(n))

to:

changeset=repo.changelog.read(n)

Change History

08/19/08 01:06:25 changed by Ben

  • cc set to dustin.
  • keywords set to Mercurial.
  • status changed from new to closed.
  • resolution set to duplicate.

A patch is proposed in #328 and #335, please apply ...