Robert Collins
robertc at robertcollins.net
Sat Oct 29 20:40:21 CDT 2005
------------------------------------------------------------
revno: 1395
revision-id: robertc at robertcollins.net-20051030014016-98a4fba7d6a4176c
parent: robertc at robertcollins.net-20051030000009-9db99a338a0dfdac
committer: Robert Collins <robertc at robertcollins.net>
timestamp: Sat 2005-10-29 21:40:16 -0400
message:
Support decoration of commands.
Commands.register_command now takes an optional flag to signal that the
registrant is planning to decorate an existing command. When given
multiple plugins registering a command is not an error, and the original
command class (whether built in or a plugin based one) is returned to the
caller. There is a new error 'MustUseDecorated' for signalling when a
wrapping command should switch to the original version. (Robert Collins)
modified:
NEWS NEWS-20050323055033-4e00b5db738777ff
bzrlib/commands.py bzr.py-20050309040720-d10f4714595cf8c3
bzrlib/errors.py errors.py-20050309040759-20512168c4e14fbd
bzrlib/plugin.py plugin.py-20050622060424-829b654519533d69
bzrlib/selftest/testplugins.py plugins.py-20050622075746-32002b55e5e943e9
More information about the bazaar-commits
mailing list