At http://bazaar.launchpad.net/~bzr-loom-devs/bzr-loom/trunk/
------------------------------------------------------------ revno: 94 revision-id: [email protected] parent: [email protected] committer: Robert Collins <[email protected]> branch nick: trunk timestamp: Sat 2009-02-28 22:02:28 +1100 message: Fix Loom cloning with the bzr.dev API change. === modified file 'branch.py' --- a/branch.py 2008-10-17 19:24:04 +0000 +++ b/branch.py 2009-02-28 11:02:28 +0000 @@ -226,13 +226,15 @@ raise bzrlib.errors.UpgradeRequired(self.base) @needs_read_lock - def clone(self, to_bzrdir, revision_id=None): + def clone(self, to_bzrdir, revision_id=None, repository_policy=None): """Clone the branch into to_bzrdir. This differs from the base clone by cloning the loom and setting the current nick to the top of the loom. """ result = self._format.initialize(to_bzrdir) + if repository_policy is not None: + repository_policy.configure_branch(result) self.copy_content_into(result, revision_id=revision_id) return result -- bazaar-commits mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/bazaar-commits
