Need advice how to keep local changes without committing to main branch
Brendan Cully
brendan at kublai.com
Wed Dec 13 16:36:33 UTC 2006
On Wednesday, 13 December 2006 at 00:18, Andrei Vermel wrote:
> I need to regularly commit changes to the main branch, but there are some
> local changes that I do not want to commit. Also I'd like to be able to
> resolve conflicts if the locally changed files get changed in the main
> branch.
> MQ doesn't help as far as I can tell, as with patches applied I can't
> commit easily - would need to qpop / qpush all the time. I can't add the
> files to the .hgignore either, since they are managed by hg.
>
> Can anyone recommend how to do it properly please?
mq's guards are suited to this. Tag your local changes with -upstream,
and qselect --reapply upstream when you want a tree without those.
More information about the Mercurial
mailing list