/b-gtk/fix-viz

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/b-gtk/fix-viz

« back to all changes in this revision

Viewing changes to push.py

  • Committer: Vincent Ladeuil
  • Date: 2009-05-04 06:58:46 UTC
  • mto: This revision was merged to the branch mainline in revision 631.
  • Revision ID: v.ladeuil+lp@free.fr-20090504065846-qdzbviwxgg77r0pn
Use public API for create_prefix.

* push.py:
(do_push): Call create_prefix on transport.

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
from errors import show_bzr_error
27
27
 
28
 
# FIXME: This needs to be public JRV 20070714
29
 
from bzrlib.builtins import _create_prefix
30
28
from bzrlib.config import LocationConfig
31
29
import bzrlib.errors as errors
32
30
 
144
142
            response = question_dialog(_i18n('Non existing parent directory'),
145
143
                         _i18n("The parent directory (%s)\ndoesn't exist. Create?") % location)
146
144
            if response == gtk.RESPONSE_OK:
147
 
                _create_prefix(transport)
 
145
                transport.create_prefix()
148
146
            else:
149
147
                return
150
148
        dir_to = br_from.bzrdir.clone(location_url,