Mercurial > hg > mercurial-crew
diff tests/test-mq-guards.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 | e0f07847f8de |
children | aa2c35057f47 |
line wrap: on
line diff
--- a/tests/test-mq-guards.t +++ b/tests/test-mq-guards.t @@ -63,7 +63,7 @@ should fail $ hg qpush a.patch - cannot push 'a.patch' - guarded by ['+a'] + cannot push 'a.patch' - guarded by '+a' [1] $ hg qguard a.patch @@ -366,9 +366,9 @@ 3 G d.patch $ hg qpush -a applying new.patch - skipping b.patch - guarded by ['+2'] + skipping b.patch - guarded by '+2' applying c.patch - skipping d.patch - guarded by ['+2'] + skipping d.patch - guarded by '+2' now at: c.patch $ qappunappv % hg qapplied