Show More
@@ -444,7 +444,7 b' preoutgoing hook can prevent outgoing ch' | |||||
444 | > ui.note(b'verbose output from hook\n') |
|
444 | > ui.note(b'verbose output from hook\n') | |
445 | > |
|
445 | > | |
446 | > def printtags(ui, repo, **args): |
|
446 | > def printtags(ui, repo, **args): | |
447 | > ui.write(b'%s\n' % sorted(repo.tags())) |
|
447 | > ui.write(b'[%s]\n' % b', '.join(sorted(repo.tags()))) | |
448 | > |
|
448 | > | |
449 | > class container: |
|
449 | > class container: | |
450 | > unreachable = 1 |
|
450 | > unreachable = 1 | |
@@ -766,7 +766,7 b' new tags must be visible in pretxncommit' | |||||
766 |
|
766 | |||
767 | $ echo 'pretxncommit.printtags = python:hooktests.printtags' >> .hg/hgrc |
|
767 | $ echo 'pretxncommit.printtags = python:hooktests.printtags' >> .hg/hgrc | |
768 | $ hg tag -f foo |
|
768 | $ hg tag -f foo | |
769 |
[ |
|
769 | [a, foo, tip] | |
770 |
|
770 | |||
771 | post-init hooks must not crash (issue4983) |
|
771 | post-init hooks must not crash (issue4983) | |
772 | This also creates the `to` repo for the next test block. |
|
772 | This also creates the `to` repo for the next test block. |
General Comments 0
You need to be logged in to leave comments.
Login now