Mercurial Queues recently got a new feature, which allows mq patches to be pushed and popped when there are local changes, provided the patches don't conflict with the local changes. This is controlled by the --keep-changes
flag. I'd like to make this behavior the default. Generally, I avoid setting defaults, since that would mean hg
works differently on my machine than on other machines, but in this case it seems harmless.
hg help qpop
says, for example
With --keep-changes, abort only if the uncommitted files overlap with
patched files.
[...]
--keep-changes tolerate non-conflicting local changes
So, can someone tell what to put in .hgrc
so that --keep-changes
is default for qpush
and qpop
?
See Bug 2780 - qpop should work if the local changes and the mq patches are unrelated for the history of this feature. It is possible there is no option to set this, in which case it is less useful. There isn't even a one letter alias.