Merge lp:~jameinel/bzr/1.16-bencode-compat-385212 into lp:~bzr/bzr/trunk-old
Proposed by
John A Meinel
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~jameinel/bzr/1.16-bencode-compat-385212 |
Merge into: | lp:~bzr/bzr/trunk-old |
Diff against target: | 43 lines |
To merge this branch: | bzr merge lp:~jameinel/bzr/1.16-bencode-compat-385212 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Andrew Bennetts | Approve | ||
Review via email: mp+7238@code.launchpad.net |
To post a comment you must log in.
This adds a backwards compatibility code with deprecation for "bzrlib. util.bencode"
It is a small helper for both bzr-gtk and the MySQL plugin that used bzrlib.util.bencode directly.
Importing the function raises the deprecation warning. The other possibility was to manually wrap all the imported objects with deprecations, but I thought this would be easier.