/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

Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
227
227
 
228
228
 
229
229
class AlreadyBranchError(PathError):
230
 
    """Already a branch: %(path)s. Use `bzr checkout` to build a working tree."""
 
230
    """Already a branch: %(path)s."""
 
231
 
 
232
 
 
233
class BranchExistsWithoutWorkingTree(PathError):
 
234
    """Directory contains a branch, but no working tree \
 
235
(use bzr checkout if you wish to build a working tree): %(path)s"""
231
236
 
232
237
 
233
238
class NoRepositoryPresent(BzrNewError):
234
 
    """Not repository present: %(path)r"""
 
239
    """No repository present: %(path)r"""
235
240
    def __init__(self, bzrdir):
236
241
        BzrNewError.__init__(self)
237
242
        self.path = bzrdir.transport.clone('..').base
889
894
 
890
895
class BinaryFile(BzrNewError):
891
896
    """File is binary but should be text."""
 
897
 
 
898
 
 
899
class IllegalPath(BzrNewError):
 
900
    """The path %(path)s is not permitted on this platform"""
 
901
 
 
902
    def __init__(self, path):
 
903
        BzrNewError.__init__(self)
 
904
        self.path = path