101
101
from bzrlib.ui import NullProgressView
102
102
from bzrlib.ui.text import TextUIFactory
103
from bzrlib.tests.features import _CompatabilityThunkFeature
104
105
# Mark this python module as being part of the implementation
105
106
# of unittest: this gives us better tracebacks where the last
4465
@deprecated_function(deprecated_in((2, 5, 0)))
4466
def ModuleAvailableFeature(name):
4467
from bzrlib.tests import features
4468
return features.ModuleAvailableFeature(name)
4466
# API compatibility for old plugins; see bug 892622.
4469
'HTTPServerFeature',
4470
'ModuleAvailableFeature',
4471
'HTTPSServerFeature', 'SymlinkFeature', 'HardlinkFeature',
4472
'OsFifoFeature', 'UnicodeFilenameFeature',
4473
'ByteStringNamedFilesystem', 'UTF8Filesystem',
4474
'BreakinFeature', 'CaseInsCasePresFilenameFeature',
4475
'CaseInsensitiveFilesystemFeature', 'case_sensitive_filesystem_feature',
4476
'posix_permissions_feature',
4478
globals()[name] = _CompatabilityThunkFeature(
4479
symbol_versioning.deprecated_in((2, 5, 0)),
4480
'bzrlib.tests', name,
4481
name, 'bzrlib.tests.features')
4484
for (old_name, new_name) in [
4485
('UnicodeFilename', 'UnicodeFilenameFeature'),
4487
globals()[name] = _CompatabilityThunkFeature(
4488
symbol_versioning.deprecated_in((2, 5, 0)),
4489
'bzrlib.tests', old_name,
4490
new_name, 'bzrlib.tests.features')