Commits

Mike Lu  committed bd65259

compatible to hg >= 2.1

  • Participants
  • Parent commits 6059ff5

Comments (0)

Files changed (1)

File mercurial_reviewboard/__init__.py

         return repo.findoutgoing(remoterepo)
 
     try:
-        common, outheads = discovery.findcommonoutgoing(repo, remoterepo)
-        return repo.changelog.findmissing(common=common, heads=outheads)
+        outgoing = discovery.findcommonoutgoing(repo, remoterepo)
+        return outgoing.missing
     except AttributeError:
         # Must be earlier than 1.9
         return discovery.findoutgoing(repo, remoterepo)