PEP 462: Add section on possible Mercurial integration

This commit is contained in:
Nick Coghlan 2014-01-27 14:34:20 +10:00
parent ca895ea251
commit c3e1c907dc
1 changed files with 25 additions and 0 deletions

View File

@ -495,6 +495,31 @@ simpler than that from OpenStack's more complex multi-service testing, and
hence likely even more amenable to automated analysis.
Enhancing Mercurial/Rietveld/Roundup integration
------------------------------------------------
One useful part of the OpenStack workflow is the "git review" plugin,
which makes it relatively easy to push a branch from a local git clone up
to Gerrit for review.
It seems that it should be possible to create a plugin that similarly
integrates Mercurial queues with Rietveld and Roundup, allowing a draft
patch to be uploaded as easily as running a command like "hg qpost" with a
suitable .hgqpost configuration file checked in to the source repo.
(There's an existing `hg review <http://sjl.bitbucket.org/hg-review/>`__,
plugin hence the suggestion of ``hg qpost`` as an alternate command)
It would also be good to work directly with the Mercurial folks to come up
with a tailored CPython-specific tutorial for using Mercurial queues and
other extensions to work effectively with the CPython repository structure.
We have some of that already in the developer guide, but I've come to believe
that we may want to start getting more opinionated as to which extensions
we recommend using, especially for users that have previously learned
``git`` and need to know which extensions to enable to gain a similar level
of flexibility in their local workflow from Mercurial.
Social Challenges
=================