~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

Merge invalid-parent fix from John

Show diffs side-by-side

added added

removed removed

Lines of Context:
304
304
(use bzr checkout if you wish to build a working tree): %(path)s"""
305
305
 
306
306
 
 
307
class InaccessibleParent(PathError):
 
308
    """Parent not accessible given base %(base)s and relative path %(path)s"""
 
309
 
 
310
    def __init__(self, path, base):
 
311
        PathError.__init__(self, path)
 
312
        self.base = base
 
313
 
 
314
 
307
315
class NoRepositoryPresent(BzrNewError):
308
316
    """No repository present: %(path)r"""
309
317
    def __init__(self, bzrdir):