mq finish patch?

Neal Becker ndbecker2 at gmail.com
Wed Oct 1 08:31:00 CDT 2008


Paul R wrote:

> On Wed, 01 Oct 2008 08:15:50 -0400, Neal Becker <ndbecker2 at gmail.com>
> said:
> 
> Neal> When I'm finished with my current mq patch, how do I "close" it
> Neal> so I don't accidentally add new changes to that patch?
> 
> Mercurial comes pretty well documented. On the wiki, you can read
>    http://www.selenic.com/mercurial/wiki/index.cgi/MqExtension
> featuring a short tutorial that answer your question.
> There is also the excellent book http://hgbook.red-bean.com/
> Of course, each command is documented through : hg help command.
> 
> Using thoses ressources, you could find instantaneously that you can :
>  - apply the patch with qpush
>  - start a new patch with qnew
>  - commit the patch content with qdelete
> 
> and many many more useful things.
> 
> --
>   Paul

My main problem is when using mq, I often forget and start a new patch without doing qnew.  This makes a mess.  What I think I want, is a way to 'close' a patch.  Any attempts to commit new changes would produce an error, rather than adding to the qtop.



More information about the Mercurial mailing list