/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/push.py

  • Committer: Jelmer Vernooij
  • Date: 2009-02-25 14:36:59 UTC
  • mfrom: (4048 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4049.
  • Revision ID: jelmer@samba.org-20090225143659-vx6cbqtmyicuzfyf
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
        # Now the target directory exists, but doesn't have a .bzr
102
102
        # directory. So we need to create it, along with any work to create
103
103
        # all of the dependent branches, etc.
104
 
        dir_to = br_from.bzrdir.clone_on_transport(to_transport,
 
104
        br_to = br_from.create_clone_on_transport(to_transport,
105
105
            revision_id=revision_id, stacked_on=stacked_on)
106
 
        br_to = dir_to.open_branch()
107
106
        # TODO: Some more useful message about what was copied
108
107
        try:
109
108
            finally_stacked_on = br_to.get_stacked_on_url()
150
149
            try:
151
150
                tree_to = dir_to.open_workingtree()
152
151
            except errors.NotLocalUrl:
153
 
                warning("This transport does not update the working " 
 
152
                warning("This transport does not update the working "
154
153
                        "tree of: %s. See 'bzr help working-trees' for "
155
154
                        "more information." % br_to.base)
156
155
                push_result = br_from.push(br_to, overwrite,