/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 bzrlib/errors.py

  • Committer: Ian Clatworthy
  • Date: 2008-07-30 04:34:59 UTC
  • mfrom: (3535.8.4 bzr.dev.send)
  • mto: This revision was merged to the branch mainline in revision 3594.
  • Revision ID: ian.clatworthy@canonical.com-20080730043459-fpeor9jlisylif0b
Give a more specific error when target branch unreachable (James Westby)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2385
2385
        self.patch_type = patch_type
2386
2386
 
2387
2387
 
 
2388
class TargetNotBranch(BzrError):
 
2389
    """A merge directive's target branch is required, but isn't a branch"""
 
2390
 
 
2391
    _fmt = ("Your branch does not have all of the revisions required in "
 
2392
            "order to merge this merge directive and the target "
 
2393
            "location specified in the merge directive is not a branch: "
 
2394
            "%(location)s.")
 
2395
 
 
2396
    def __init__(self, location):
 
2397
        BzrError.__init__(self)
 
2398
        self.location = location
 
2399
 
 
2400
 
2388
2401
class UnsupportedInventoryKind(BzrError):
2389
2402
    
2390
2403
    _fmt = """Unsupported entry kind %(kind)s"""