About mq use
Marcin Kasperski
Marcin.Kasperski at softax.com.pl
Tue Nov 6 11:51:07 CST 2007
> 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...
>
You can workaround this using guards. Just put different guards on
every patch (or on patch groups if some patches are related and should
stay together) and use them.
> My question on how to replicate the mq queue in other repositories is
> still valid.
In general you can do
hg clone /path/to/main/repo
cd .hg/
hg clone /path/to/main/repo/.hg/patches
and then use pull/push in .hg/patches as usual.
There is some problem here though. Before you make any push or pull
between such repositories - both main repo and .hg/patches -
you should ensure that on ***both*** sides you executed hg qpop -a
to strip all patches.
True mess results if you hg pull (or push) between repos with
different applied patches configuration.
--
----------------------------------------------------------------------
| Marcin Kasperski | A reusable framework that is developed by
| http://mekk.waw.pl | itself will probably not be very reusable.
| | (Martin)
----------------------------------------------------------------------
More information about the Mercurial
mailing list