~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/push.py

Merge alias-loc-docs-337834 (which was against lp:bzr/2.0).

Show diffs side-by-side

added added

removed removed

Lines of Context:
110
110
                    "\nYou may supply --create-prefix to create all"
111
111
                    " leading parent directories."
112
112
                    % location)
 
113
            # This shouldn't occur (because create_prefix is true, so
 
114
            # create_clone_on_transport should be catching NoSuchFile and
 
115
            # creating the missing directories) but if it does the original
 
116
            # NoSuchFile error will be more informative than an
 
117
            # UnboundLocalError for br_to.
 
118
            raise
113
119
        except errors.TooManyRedirections:
114
120
            raise errors.BzrCommandError("Too many redirections trying "
115
121
                                         "to make %s." % location)