Note:

This page is primarily intended for developers of Mercurial.

This is a status page for keeping track of what needs to be done to make progress on Mercurial on Python 3. Nobody is actively working on this - AugieFackler works on it sporadically, and would be happy to see patches on this topic flagged with Py3 on the mailing list.

The most significant problem at the moment is some lingering cyclic imports in the codebase:

cmdutil -> subrepo -> cmdutil

The easiest fix for this would be to move hgsubrepo to a new file, and then fix the registration mechanism to be dependency injected somehow.

mercurial.repoview -> mercurial.revset -> mercurial.repoview

mercurial.fileset -> mercurial.merge -> mercurial.subrepo -> mercurial.match -> mercurial.fileset

If hgsubrepo moved out of subrepo, this would also be resolve.d

mercurial.filemerge -> mercurial.match -> mercurial.fileset -> mercurial.merge -> mercurial.filemerge