~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_info.py

  • Committer: Jelmer Vernooij
  • Date: 2009-05-01 14:29:06 UTC
  • mto: This revision was merged to the branch mainline in revision 4321.
  • Revision ID: jelmer@samba.org-20090501142906-7zj8hcpp9igzuyi4
Add repository argument to 'repository' info hook, per Roberts review.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1056
1056
 
1057
1057
    def test_info_repository_hook(self):
1058
1058
        format = bzrdir.format_registry.make_bzrdir('knit')
1059
 
        def repo_info(stats, outf):
 
1059
        def repo_info(repo, stats, outf):
1060
1060
            outf.write("more info\n")
1061
1061
        info.hooks.install_named_hook('repository', repo_info, None)
1062
1062
        # Create shared repository with working trees