Comment 22 for bug 679917

Revision history for this message
Yuv (yuv) wrote :

use hg export to produce the patch. hg help export is your friend.

for example, if the code was committed in one go, then hg export -g ${REV} > feature.patch will produce a patch. If it was committed in multiple steps, then hg export -g ${STARTREV}:${ENDREV} > feature.patch will do the trick. You will need to identify the revision number at which you did commit. hg view is your friend there. you will need to activate the hgk extension in your ~/.hgrc settings.

There is a place in the code where a random temporary file is generated for stitching. I don't recall anymore where it is. You could orient yourself to that for both place and filename - AFAIK it works well on all systems.