Commit Graph

12 Commits

Author SHA1 Message Date
Patrick Mezard
ad66e2aba5 Test qtop breaking when series ends with guarded patches. 2007-05-06 18:19:25 +02:00
Patrick Mezard
c06d45d1c7 mq: test qtop with holes in the patch sequence. 2007-04-12 22:41:50 +02:00
Thomas Arendsen Hein
1bd533bfe0 hg qseries -m: guards file was not ignored 2007-03-18 20:37:47 +01:00
Thomas Arendsen Hein
b05341e0d2 Tests for qapplied/qunapplied fixes (10a3604dafc6 and 394fae2055db) 2007-03-18 19:41:28 +01:00
Christian Ebert
cf8f1b83bb mq: abort cleanly when invalid patch name is given to qguard 2007-03-03 17:54:13 +01:00
Alexis S. L. Carvalho
1f3671ab6b fix qseries -v and guards interaction
- rename "status" variable to avoid shadowing an argument
- use a better test to determine whether a patch is applied
2006-12-02 18:41:07 -02:00
Mathieu Clabaut
6971cd5b8c Issue424: mq patch loses guard when qrenamed 2006-11-19 23:47:19 +01:00
Thomas Arendsen Hein
a1f1b33ecb Make tests append settings to $HGRCPATH instead of $HGTMP/.hgrc
and add documentation for this.
2006-08-22 10:08:42 +02:00
Vadim Gelfer
cefae5007c mq: apply patch is any posative guard matches
this is like guards command from quilt package.
2006-08-10 17:18:55 -07:00
Vadim Gelfer
65c989bccf qselect: add --pop, --reapply options 2006-08-10 14:58:10 -07:00
Vadim Gelfer
626fbfdeed mq: make guards more strict, add tests 2006-08-09 09:38:11 -07:00
Vadim Gelfer
3ea890331f mq: new commands qselect, qguard
implement quilt-style guards for mq.

guards allow to control whether patch can be pushed.

if guard X is active and patch is guarded by +X (called "posative guard"),
patch can be pushed.  if patch is guarded by -X (called "nagative guard"),
patch cannot be pushed and is skipped.

use qguard to set/list guards on patches.  use qselect to set/list
active guards.

also "qseries -v" prints guarded patches with "G" now.
2006-08-08 21:42:50 -07:00