Queuing patches have never been so easy

Pierre-Yves David pierre-yves.david at ens-lyon.org
Tue May 27 18:29:01 CDT 2014


(This email is mostly targeted at people that can push patches for 
mercurial.)


There have been various welcome improvement to the queuing tooling in 
the past week:

Get apply but don't die trying
================================

The new ``hg import --partial`` flag make sure a changeset is created 
even is some part of the patches fails to apply. This mean you won't 
lose author, description and other metadata if the patches has a few .rej

Planned obsolescence
=======================

Later evolve release introduce ``hg import --obsolete`` that will 
automatically create a marker between the node writen in the patch file 
and the one actually created by the import.

Easy access to patches
========================

The headaches to get patches out of your mailer are over.

A friendly script is now making all patches patchmbombed to the list 
available on hjttp://review.octopoid.net/

Just use: http://review.octopoid.net/patches/<node>/raw.txt to access it.

Support for series is on the way.

Conclusion
=======================

Consider adding

   [alias]
   getpatch=import --partial --obsolete 
http://review.octopoid.net/patches/$1/raw.txt

To your hgrc


happy queuing

-- 
Pierre-Yves David


More information about the Mercurial-devel mailing list