[informatique] Re: a "patch tree" instead of a patch queue?
"Jérôme M. Berger"
jeberger at free.fr
Wed May 28 12:43:49 CDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
You could also use "qguard" and "qselect" to tag patches for each
situation, e.g:
hg qpop -a
hg qguard arxiv +arxiv
hg qguard journal +jounal
hg qselect arxiv
hg qpush -a
This should only apply the "arxiv" patch. Then:
hg qpop -a
hg qselect -n
hg qselect journal
hg qpush -a
This will move you to the "journal" patch. You can of course create
an alias to avoid typing all four commands.
The only issue with this setup is that you can select more than one
"guard" if you're not careful. If you only have a few choices, you
can use negative guards (ie, guard one patchset with "+arxiv" and
"-journal" and the other with "+journal" and "-arxiv") to ensure
that they are never applied together.
Jerome
- --
+------------------------- Jerome M. BERGER ---------------------+
| mailto:jeberger at free.fr | ICQ: 238062172 |
| http://jeberger.free.fr/ | Jabber: jeberger at jabber.fr |
+---------------------------------+------------------------------+
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iEYEARECAAYFAkg9mdUACgkQd0kWM4JG3k/22ACgrpopuGaJsubNhlTEISmD6eoE
mCMAn0Vmoe/++SjuT2bz/aCQLQk1Tht8
=3T/X
-----END PGP SIGNATURE-----
More information about the Mercurial
mailing list