[Python-checkins] peps: PEP 462: Add section on possible Mercurial integration

nick.coghlan python-checkins at python.org
Mon Jan 27 05:34:30 CET 2014


http://hg.python.org/peps/rev/112e98ba3718
changeset:   5359:112e98ba3718
user:        Nick Coghlan <ncoghlan at gmail.com>
date:        Mon Jan 27 14:34:20 2014 +1000
summary:
  PEP 462: Add section on possible Mercurial integration

files:
  pep-0462.txt |  25 +++++++++++++++++++++++++
  1 files changed, 25 insertions(+), 0 deletions(-)


diff --git a/pep-0462.txt b/pep-0462.txt
--- a/pep-0462.txt
+++ b/pep-0462.txt
@@ -495,6 +495,31 @@
 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
 =================
 

-- 
Repository URL: http://hg.python.org/peps


More information about the Python-checkins mailing list