Is there any easy way to generate a patch file from "hg incoming" command?

Michael Smith michael.smith at thalesatm.com
Tue Mar 4 21:18:35 CST 2008


Neo Jia wrote:

>>  > Is there any way to make "hg incoming" just print one specific changeset?
>>
>>  You could write a loop based on the output of hg incoming and then use
>>  hg export to generate a patch for each changeset.
> 
> Without pulling the changesets? I don't think you can use hg export. I
> got an "unknown revision" error".

So pull the changesets into a local repo then export the ones you want.
-- 
Michael Smith               | 61 386 304 560
Team Leader, Case and Tools | 61 416 062 898
Thales Australia TCC        |    S  37.82329
Melbourne, Victoria         |    E 144.95426
--------------------------------------------
Confidentiality Notice: This e-mail may contain confidential and/or 
privileged information and is intended solely for the addressee(s) 
named. If you have received this information in error, or are advised 
that you have been posted this e-mail by accident, please notify the 
sender by return e-mail, do not redistribute it, delete the e-mail and 
keep no copies.


More information about the Mercurial mailing list