# HG changeset patch # User Augie Fackler # Date 2018-04-14 04:10:17 # Node ID f450a3be62ec159090ce80aa030312b9bb8a495a # Parent 63b7415e37a582a54a5a27b64ada167c4c34ff29 tests: manually print list in test-hook.t Changes the output a bit, but not in an important way. Differential Revision: https://phab.mercurial-scm.org/D3362 diff --git a/tests/test-hook.t b/tests/test-hook.t --- a/tests/test-hook.t +++ b/tests/test-hook.t @@ -444,7 +444,7 @@ preoutgoing hook can prevent outgoing ch > ui.note(b'verbose output from hook\n') > > def printtags(ui, repo, **args): - > ui.write(b'%s\n' % sorted(repo.tags())) + > ui.write(b'[%s]\n' % b', '.join(sorted(repo.tags()))) > > class container: > unreachable = 1 @@ -766,7 +766,7 @@ new tags must be visible in pretxncommit $ echo 'pretxncommit.printtags = python:hooktests.printtags' >> .hg/hgrc $ hg tag -f foo - ['a', 'foo', 'tip'] + [a, foo, tip] post-init hooks must not crash (issue4983) This also creates the `to` repo for the next test block.