Opened 6 years ago

Closed 6 years ago

#298 closed defect (duplicate)

mercurial changegroup.buildbot hook breaks with hg 1.0

Reported by: neomantra Owned by:
Priority: major Milestone: undecided
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 (1)

comment:1 Changed 6 years ago by Ben

  • Cc dustin added
  • Keywords Mercurial added
  • Resolution set to duplicate
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.