diff tests/test-mq.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 e8debe1eb255
children e9ed3506f066
line wrap: on
line diff
--- a/tests/test-mq.t	Fri May 27 12:42:36 2011 +0200
+++ b/tests/test-mq.t	Tue May 31 08:47:16 2011 +0200
@@ -460,7 +460,7 @@
   $ hg qguard test1b.patch -- -negguard
   $ hg qguard test2.patch -- +posguard
   $ hg qpush --move test2.patch # can't move guarded patch
-  cannot push 'test2.patch' - guarded by ['+posguard']
+  cannot push 'test2.patch' - guarded by '+posguard'
   [1]
   $ hg qselect posguard
   number of unguarded, unapplied patches has changed from 2 to 3