About mq use
Giorgos Keramidas
keramida at ceid.upatras.gr
Tue Nov 6 11:26:28 CST 2007
On 2007-11-06 17:51, hg user <mercurialuser at gmail.com> wrote:
> > Pushing ONE patch a time I can work on a specific problem, then I may
> > push other patches to have a complete picture.
>
> I was completely wrong: I CANNOT push ONE patch a time. They are
> pushed in order up to the one I ask to push. qdiff anyway return the
> diff between the current and previous patch... so I was misleaded...
Yes you can push only one patch, if you 'guard' patches with symbolic
names. You can even have a patch queue with the guards:
PATCH GUARD
foo stable
bar experimental
baz stable
and using "hg qpush -a" when the "stable" guard is selected will push
foo, skip bar and push baz.
See the help of the "qguard" and "qselect" commands, and the Mercurial
book for more details.
> My question on how to replicate the mq queue in other repositories is
> still valid.
By using "hg qcommit" to save the state of patches and then "hg qclone",
or just "hg clone" on the .hg/patches directory.
More information about the Mercurial
mailing list