Mercurial > hg-stable
diff tests/test-mq-qpush-fail.t @ 14464:00256f689f9c
mq: print "'foo' 'bar'", not "['foo', 'bar']" when showing guards
The internal list representation of guards was leaking into the
output. The guards were always printed using repr(guard) and that
style was kept.
When "hg qguard -l" prints several guards for a patch, it does so by
joining the names with " " and that style was used for the error
messages too.
author | Martin Geisler <mg@aragost.com> |
---|---|
date | Tue, 31 May 2011 08:47:16 +0200 |
parents | 0396ca8015be |
children | b2ca2f40c9c1 |
line wrap: on
line diff
--- a/tests/test-mq-qpush-fail.t Fri May 27 12:42:36 2011 +0200 +++ b/tests/test-mq-qpush-fail.t Tue May 31 08:47:16 2011 +0200 @@ -122,7 +122,7 @@ try to push and pop while a is guarded $ hg qpush a - cannot push 'a' - guarded by ['+block'] + cannot push 'a' - guarded by '+block' [1] $ hg qpush -a applying b