/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/errors.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:
526
526
        PathError.__init__(self, url, extra=extra)
527
527
 
528
528
 
529
 
class UnstackableBranchFormat(BzrError):
530
 
 
531
 
    _fmt = ("The branch '%(url)s'(%(format)s) is not a stackable format. "
532
 
        "You will need to upgrade the branch to permit branch stacking.")
533
 
 
534
 
    def __init__(self, format, url):
535
 
        BzrError.__init__(self)
536
 
        self.format = format
537
 
        self.url = url
538
 
 
539
 
 
540
529
class UnstackableLocationError(BzrError):
541
530
 
542
531
    _fmt = "The branch '%(branch_url)s' cannot be stacked on '%(target_url)s'."