/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] olaf's --remember changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
fullstop.
54
54
"""
55
55
 
 
56
from warnings import warn
 
57
 
56
58
# based on Scott James Remnant's hct error classes
57
59
 
58
60
# TODO: is there any value in providing the .args field used by standard
443
445
 
444
446
class AmbiguousBase(BzrError):
445
447
    def __init__(self, bases):
 
448
        warn("BzrError AmbiguousBase has been deprecated as of bzrlib 0.8.",
 
449
                DeprecationWarning)
446
450
        msg = "The correct base is unclear, becase %s are all equally close" %\
447
451
            ", ".join(bases)
448
452
        BzrError.__init__(self, msg)