~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/per_branch/test_create_clone.py

MergeĀ lp:bzr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# Copyright (C) 2009, 2010 Canonical Ltd
 
1
# Copyright (C) 2009-2012 Canonical Ltd
2
2
#
3
3
# This program is free software; you can redistribute it and/or modify
4
4
# it under the terms of the GNU General Public License as published by
133
133
        trunk = tree.branch.create_clone_on_transport(
134
134
            self.get_transport('trunk'))
135
135
        revid = tree.commit('a second commit')
136
 
        source = tree.branch
137
136
        target_transport = self.get_transport('target')
138
137
        self.hook_calls = []
139
138
        branch.Branch.hooks.install_named_hook(