~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2010-03-02 20:45:08 UTC
  • mfrom: (5051.3.9 named-branches)
  • Revision ID: pqm@pqm.ubuntu.com-20100302204508-4j07g2h9wj49o494
(Jelmer) Add name argument to BzrDir.create_branch(),
        BzrDir.destroy_branch() and BzrDir.open_branch().

Show diffs side-by-side

added added

removed removed

Lines of Context:
3124
3124
 
3125
3125
    def __init__(self, path):
3126
3126
        self.path = path
 
3127
 
 
3128
 
 
3129
class NoColocatedBranchSupport(BzrError):
 
3130
 
 
3131
    _fmt = ("%(bzrdir)r does not support co-located branches.")
 
3132
 
 
3133
    def __init__(self, bzrdir):
 
3134
        self.bzrdir = bzrdir
 
3135