/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

Bring in bzr.dev 4005

Show diffs side-by-side

added added

removed removed

Lines of Context:
2934
2934
        BzrError.__init__(self, shelf_id=shelf_id)
2935
2935
 
2936
2936
 
 
2937
class InvalidShelfId(BzrError):
 
2938
 
 
2939
    _fmt = '"%(invalid_id)s" is not a valid shelf id, try a number instead.'
 
2940
 
 
2941
    def __init__(self, invalid_id):
 
2942
        BzrError.__init__(self, invalid_id=invalid_id)
 
2943
 
 
2944
 
2937
2945
class UserAbort(BzrError):
2938
2946
 
2939
2947
    _fmt = 'The user aborted the operation.'
 
2948
 
 
2949
 
 
2950
class MustHaveWorkingTree(BzrError):
 
2951
 
 
2952
    _fmt = ("Branching '%(url)s'(%(format)s) must create a working tree.")
 
2953
 
 
2954
    def __init__(self, format, url):
 
2955
        BzrError.__init__(self, format=format, url=url)