tests/test-hook.t
changeset 41742 d7ce1ea7a5f2
parent 41650 f8443db3032e
child 41901 94faa2e84094
equal deleted inserted replaced
41741:9d39671adadb 41742:d7ce1ea7a5f2
   853   >     ui.note(b'verbose output from hook\n')
   853   >     ui.note(b'verbose output from hook\n')
   854   > 
   854   > 
   855   > def printtags(ui, repo, **args):
   855   > def printtags(ui, repo, **args):
   856   >     ui.write(b'[%s]\n' % b', '.join(sorted(repo.tags())))
   856   >     ui.write(b'[%s]\n' % b', '.join(sorted(repo.tags())))
   857   > 
   857   > 
   858   > class container:
   858   > class container(object):
   859   >     unreachable = 1
   859   >     unreachable = 1
   860   > EOF
   860   > EOF
   861 
   861 
   862   $ cat > syntaxerror.py << NO_CHECK_EOF
   862   $ cat > syntaxerror.py << NO_CHECK_EOF
   863   > (foo
   863   > (foo