[PATCH] hg import/patch: add -e/--edit option to edit commit msg

Alecs King alecsk at gmail.com
Fri Aug 13 01:24:31 CDT 2010


On Thu, Aug 12, 2010 at 02:36:46PM -0500, Matt Mackall wrote:
> > > A test would be nice I guess :p
> > 
> > Any hints how to write an iterative test?
> 
> I presume you mean interactive. The trick here is to set the editor to a
> script that tweaks the file appropriately and check the log. Then you've
> made sure the 'editor' gets invoked and its output is used.

Yes.  I meant interactive. =) 

Thanks for the trick.  Will give it a try for a unified "interactive"
test.

-- 
Alecs King


More information about the Mercurial-devel mailing list