mq: hg qnew doesn't record changes in the patch

Robin Farine robin.farine at terminus.org
Tue Sep 20 11:17:56 CDT 2005


On Tue September 20 2005 16:40, Chris Mason wrote:

> http://www.serpentine.com/~cmason now has an updated mq command. 
> With local changes, hg qnew will error out, and hg qnew -f will
> proceed.  With hg qnew -f, you can run hg qrefresh to get the
> local changes included in your patch.

Since a Mercurial changeset created by 'qnew -f' can be easily 
removed by qpop, shouldn't the refresh step automatically be 
performed when qnew is invoked with -f?

> Binary files aren't compatible with mq in general.  If the change
> can't be represented in a patch, it won't work well at all.

Sure, that is why I am now happy that qnew complains if I forget to 
commit a change involving binary files before I start a new patch 
queue with mq. :-)

Robin


More information about the Mercurial mailing list