~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/errors.py

  • Committer: John Arbash Meinel
  • Date: 2009-03-27 22:29:55 UTC
  • mto: (3735.39.2 clean)
  • mto: This revision was merged to the branch mainline in revision 4280.
  • Revision ID: john@arbash-meinel.com-20090327222955-utifmfm888zerixt
Implement apply_delta_to_source which doesn't have to malloc another string.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2850
2850
    pass
2851
2851
 
2852
2852
 
 
2853
class NotATerminal(BzrError):
 
2854
 
 
2855
    _fmt = 'Unable to ask for a password without real terminal.'
 
2856
 
 
2857
 
2853
2858
class UnableEncodePath(BzrError):
2854
2859
 
2855
2860
    _fmt = ('Unable to encode %(kind)s path %(path)r in '
2960
2965
        BzrError.__init__(self, invalid_id=invalid_id)
2961
2966
 
2962
2967
 
2963
 
class JailBreak(BzrError):
2964
 
 
2965
 
    _fmt = "An attempt to access a url outside the server jail was made: '%(url)s'."
2966
 
 
2967
 
    def __init__(self, url):
2968
 
        BzrError.__init__(self, url=url)
2969
 
 
2970
 
 
2971
2968
class UserAbort(BzrError):
2972
2969
 
2973
2970
    _fmt = 'The user aborted the operation.'