/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 breezy/push.py

  • Committer: Jelmer Vernooij
  • Date: 2017-07-23 17:17:18 UTC
  • mto: This revision was merged to the branch mainline in revision 6743.
  • Revision ID: jelmer@jelmer.uk-20170723171718-e6digv00ohocq7uq
Move UnstackableBranchFormat.

Show diffs side-by-side

added added

removed removed

Lines of Context:
19
19
from __future__ import absolute_import
20
20
 
21
21
from . import (
 
22
    branch as _mod_branch,
22
23
    controldir,
23
24
    errors,
24
25
    revision as _mod_revision,
125
126
        # TODO: Some more useful message about what was copied
126
127
        try:
127
128
            push_result.stacked_on = br_to.get_stacked_on_url()
128
 
        except (errors.UnstackableBranchFormat,
 
129
        except (_mod_branch.UnstackableBranchFormat,
129
130
                errors.UnstackableRepositoryFormat,
130
131
                errors.NotStacked):
131
132
            push_result.stacked_on = None