~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/push.py

  • Committer: Robert Collins
  • Date: 2009-02-24 05:37:17 UTC
  • mto: This revision was merged to the branch mainline in revision 4038.
  • Revision ID: robertc@robertcollins.net-20090224053717-sau62hnxgo2f1pzr
Create and use a RPC call to create branches on bzr servers rather than using VFS calls.

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
        # all of the dependent branches, etc.
104
104
        dir_to = br_from.bzrdir.clone_on_transport(to_transport,
105
105
            revision_id=revision_id, stacked_on=stacked_on)
 
106
        # XXX: Fix this API to allow getting the branch back from the clone
 
107
        # call. Or something. 20090224 RBC/spiv.
106
108
        br_to = dir_to.open_branch()
107
109
        # TODO: Some more useful message about what was copied
108
110
        try: