<p dir="ltr"><br>
On 1 Jul 2014 11:28, "Alex Gaynor" <<a href="mailto:alex.gaynor@gmail.com">alex.gaynor@gmail.com</a>> wrote:<br>
><br>
> I've come up with a new approach, which I believe is most likely to be<br>
> successful, but I'll need help to implement it.<br>
><br>
> The idea is to find the most recent commit which is a parent of both the<br>
> ``2.7`` and ``default`` branches. Then take every single change to an ``ssl``<br>
> related file on the ``default`` branch, and attempt to replay it on the ``2.7``<br>
> branch. Require manual review on each commit to make sure it compiles, and to<br>
> ensure it doesn't make any backwards incompatible changes.<br>
><br>
> I think this provides the most iterative and guided approach to getting this<br>
> done.</p>
<p dir="ltr">Sounds promising, although it may still have some challenges if the SSL code depends on earlier changes to other code.</p>
<p dir="ltr">> I can do all the work of reviewing each commit, but I need some help from a<br>
> mercurial expert to automate the cherry-picking/rebasing of every single<br>
> commit.<br>
><br>
> What do folks think? Does this approach make sense? Anyone willing to help with<br>
> the mercurial scripting?</p>
<p dir="ltr">For the Mercurial part, it's probably worth posing that as a Stack Overflow question:</p>
<p dir="ltr">Given two named branches in <a href="http://hg.python.org">http://hg.python.org</a> (default and 2.7) and 4 files (Python module, C module, tests, docs):<br>
- find the common ancestor<br>
- find all the commits affecting those files on default & graft them to 2.7 (with a chance to test and edit each one first)</p>
<p dir="ltr">It's just a better environment for asking & answering that kind of question :)</p>
<p dir="ltr">Cheers,<br>
Nick.</p>
<p dir="ltr">><br>
> Cheers,<br>
> Alex<br>
><br>
> _______________________________________________<br>
> Python-Dev mailing list<br>
> <a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
> <a href="https://mail.python.org/mailman/listinfo/python-dev">https://mail.python.org/mailman/listinfo/python-dev</a><br>
> Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com">https://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com</a><br>
</p>