Patch submission issues with Mercurial

Jens Alfke jens at mooseyard.com
Thu Oct 11 11:44:05 CDT 2007


On 11 Oct '07, at 8:01 AM, Sean Kelley wrote:

> So I have two questions.  Does anyone know of a way to include  
> comments
> in an e-mail patch in such a way that Mercurial won't include those
> comments in the commit log?

You could email the patch as a bundle; then it would be in a separate  
attachment, independent of the text in the email message.

Of course the drawback is that the bundle isn't directly human- 
readable; the best you can do is use "hg incoming --bundle" to see  
what files have changed. (Is there any way to run "hg diff" against a  
bundle to see the exact diffs it contains?)

--Jens


More information about the Mercurial mailing list