Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • hg-git-test-migration hg-git-test-migration
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 79
    • Issues 79
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

This instance will be upgraded to Heptapod 0.31.0 (final) on 2022-05-24 at 14:00 UTC+2 (a few minutes of down time)

  • heptapod
  • Testing Projects
  • hg-git-test-migrationhg-git-test-migration
  • Merge requests
  • !37

Merged
Created Jul 23, 2020 by Georges Racinet@gracinet🦑Owner

compat: fix compatibility with upstream Mercurial

  • Overview 1
  • Commits 1
  • Pipelines 1
  • Changes 1

Mercurial changeset 3b7aabd02e11 changed some code from repo[ctx.p1().node()] to ctx.p1(). ctx.p1() is using ctx._parents. The base class’s _parents returns instances of type changectx instead of overlaychangectx, leading to a crash later. Therefore we override _parents instead of parents().

The base class’s parents() method returns self._parents, so the return value of parents() is unchanged.

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: topic/default/fix_compat_with_hg_3b7aabd02e11