Mercurial > hg-stable
diff tests/test-mq-guards @ 7772:88887054d277
fancyopts: Parse options that occur after arguments.
This changes the behavior of qguard in the case of setting negative guards, as -- will now always be required.
Fixes issue1402.
Doc fixes for mq by mpm.
author | Augie Fackler <durin42@gmail.com> |
---|---|
date | Tue, 10 Feb 2009 13:26:00 -0600 |
parents | 2cd1308cb588 |
children | b8dc3eba4f9d |
line wrap: on
line diff
--- a/tests/test-mq-guards Tue Feb 10 16:31:52 2009 -0600 +++ b/tests/test-mq-guards Tue Feb 10 13:26:00 2009 -0600 @@ -53,7 +53,7 @@ echo % should push a.patch hg qpush -hg qguard c.patch -a +hg qguard -- c.patch -a echo % should print -a hg qguard c.patch @@ -95,7 +95,7 @@ hg qpush hg qpop -a -hg qguard a.patch +1 +2 -3 +hg qguard -- a.patch +1 +2 -3 hg qselect 1 2 3 echo % list patches and guards hg qguard -l