~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: Martin Pool
  • Date: 2006-04-20 07:54:15 UTC
  • mto: This revision was merged to the branch mainline in revision 1679.
  • Revision ID: mbp@sourcefrog.net-20060420075415-44c236b796c1931b
Better error message when initting existing tree

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):