/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: Canonical.com Patch Queue Manager
  • Date: 2006-12-07 00:51:13 UTC
  • mfrom: (2164.1.2 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20061207005113-3b371f625421645e
(Robert Collins) Support a real unicode revision id, and add tests that it will work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1413
1413
        self.tname = type(method_self).__name__
1414
1414
 
1415
1415
 
 
1416
class CannotSetRevisionId(UnsupportedOperation):
 
1417
    """Raised when a commit is attempting to set a revision id but cant."""
 
1418
 
 
1419
 
 
1420
class NonAsciiRevisionId(UnsupportedOperation):
 
1421
    """Raised when a commit is attempting to set a non-ascii revision id but cant."""
 
1422
 
 
1423
 
1416
1424
class BinaryFile(BzrError):
1417
1425
    
1418
1426
    _fmt = "File is binary but should be text."