DeprecationWarnings

Russel Winder russel.winder at concertant.com
Thu May 15 16:31:53 BST 2008


Using my shiny new bzr 1.5~rc1, bzrtools 1.4.0, bzr-svn 0.4.10, I am
seeing the following for every command:

/usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/hook.py:30:
DeprecationWarning: bzrlib.branch.BranchHooks.install_hook was
deprecated in version 1.5.
  Branch.hooks.install_hook('set_rh', on_set_rh)
/usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/hook.py:35:
DeprecationWarning: bzrlib.smart.server.SmartServerHooks.install_hook
was deprecated in version 1.5.
  SmartTCPServer.hooks.install_hook('server_started', on_server_start)
/usr/lib/python2.5/site-packages/bzrlib/plugins/dbus/hook.py:36:
DeprecationWarning: bzrlib.smart.server.SmartServerHooks.install_hook
was deprecated in version 1.5.
  SmartTCPServer.hooks.install_hook('server_stopped', on_server_stop)
/usr/lib/python2.5/site-packages/bzrlib/plugins/email/__init__.py:57:
DeprecationWarning: bzrlib.branch.BranchHooks.install_hook was
deprecated in version 1.5.
  Branch.hooks.install_hook('post_commit', branch_commit_hook)

Clearly deprecation warnings are actually important for developers but
users really couldn't care less.  Well actually they do care, they just
do not want to see these sorts of things!  I can cope with this, but I
thought it worth raising so that final release software doesn't do this
sort of thing.

-- 
Russel.
====================================================
Dr Russel Winder                 Partner

Concertant LLP                   t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,              f: +44 8700 516 084
London SW11 1EN, UK.             m: +44 7770 465 077
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20080515/503f8292/attachment.pgp 


More information about the bazaar mailing list