~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: 2006-04-13 22:37:15 UTC
  • mfrom: (1658.1.10 bzr.mbp.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060413223715-b826d3cb591fed82
(mbp) fix #38331, #3619

Show diffs side-by-side

added added

removed removed

Lines of Context:
267
267
        self.path = path
268
268
 
269
269
 
 
270
class PathsNotVersionedError(BzrNewError):
 
271
    # used when reporting several paths are not versioned
 
272
    """Path(s) are not versioned: %(paths_as_string)s"""
 
273
 
 
274
    def __init__(self, paths):
 
275
        from bzrlib.osutils import quotefn
 
276
        BzrNewError.__init__(self)
 
277
        self.paths = paths
 
278
        self.paths_as_string = ' '.join([quotefn(p) for p in paths])
 
279
 
 
280
 
270
281
class BadFileKindError(BzrError):
271
282
    """Specified file is of a kind that cannot be added.
272
283