/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

merge with bzr.dev and put the NEWS entry in the IN DEVELOPMENT section

Show diffs side-by-side

added added

removed removed

Lines of Context:
2658
2658
 
2659
2659
class NoMailAddressSpecified(BzrError):
2660
2660
 
2661
 
    _fmt = "No mail-to address specified."
 
2661
    _fmt = "No mail-to address (--mail-to) or output (-o) specified."
2662
2662
 
2663
2663
 
2664
2664
class UnknownMailClient(BzrError):
2946
2946
        BzrError.__init__(self, shelf_id=shelf_id)
2947
2947
 
2948
2948
 
 
2949
class InvalidShelfId(BzrError):
 
2950
 
 
2951
    _fmt = '"%(invalid_id)s" is not a valid shelf id, try a number instead.'
 
2952
 
 
2953
    def __init__(self, invalid_id):
 
2954
        BzrError.__init__(self, invalid_id=invalid_id)
 
2955
 
 
2956
 
2949
2957
class UserAbort(BzrError):
2950
2958
 
2951
2959
    _fmt = 'The user aborted the operation.'
 
2960
 
 
2961
 
 
2962
class MustHaveWorkingTree(BzrError):
 
2963
 
 
2964
    _fmt = ("Branching '%(url)s'(%(format)s) must create a working tree.")
 
2965
 
 
2966
    def __init__(self, format, url):
 
2967
        BzrError.__init__(self, format=format, url=url)