[merge] remove deprecated things

Martin Pool mbp at sourcefrog.net
Thu Aug 9 09:37:29 BST 2007


This removes some pretty old deprecated code, from 0.8 through 0.11,
and the tests that covered them.

In doing this there is some risk that there is new code that is only
tested through a deprecated interface.  That doesn't seem to be the
case, and actually many of the old interfaces were not well tested,
coming from a time when we mostly had blackbox tests.

The only part of this that might be controversial is that this removes
VersionedFile.walk.  That was documented as deprecated but not
actually deprecated in all the implementations.  I'm not sure why.  It
is not called aside from the tests, and since it only relates to the
very old weave code and is just supported for compatability(?) by
knits I think it's safe to remove.

Not for 0.90 of course.

 __init__.py                                          |   11 --
 branch.py                                            |   43 --------
 commands.py                                          |   36 -------
 delta.py                                             |   14 --
 diff.py                                              |   42 --------
 fetch.py                                             |   19 ---
 info.py                                              |    7 -
 knit.py                                              |   21 ----
 lockable_files.py                                    |   32 ------
 log.py                                               |    6 -
 osutils.py                                           |    9 -
 repository.py                                        |    1
 revision.py                                          |   46 ---------
 status.py                                            |   43 --------
 store/__init__.py                                    |   13 --
 store/versioned/__init__.py                          |   50 ---------
 tests/test_escaped_store.py                          |    1
 tests/test_selftest.py                               |    5
 tests/test_source.py                                 |   11 --
 tests/test_store.py                                  |   10 -
 tests/test_transport_implementations.py              |   97 -------------------
 tests/test_versionedfile.py                          |   19 ---
 tests/test_weave.py                                  |    2
 tests/workingtree_implementations/test_is_ignored.py |   22 ----
 trace.py                                             |   17 ---
 transport/__init__.py                                |   42 --------
 ui/__init__.py                                       |   12 --
 ui/text.py                                           |   11 --
 versionedfile.py                                     |   41 --------
 weave.py                                             |   97 -------------------
 workingtree.py                                       |    2
 31 files changed, 17 insertions(+), 765 deletions(-)


-- 
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20070809-remove-deprecated.diff
Type: text/x-diff
Size: 51244 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070809/08717ad2/attachment-0001.bin 


More information about the bazaar mailing list