[BUG] changeset plugin doesn't work

John A Meinel john at arbash-meinel.com
Wed Jun 22 20:22:14 BST 2005


I noticed that after upgrading bzr.dev, which I posted elsewhere, but 
thanks for making it more obvious.

John
=:->

On Jun 22, 2005, at 1:55 PM, Aaron Bentley wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> The changeset plugin included with bzr doesn't work, because it thinks
> the function is 'bzrlib.commands.register_plugin_cmd', when it's
> actually 'bzrlib.commands.register_plugin_command'
>
> The attached patch fixes this.
>
> Aaron
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.1 (GNU/Linux)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFCubQ10F+nu1YWqI0RAkHtAJsFrjQQamtysGzoPsk5r/dS3XW4NgCfbYXM
> B6aK6Eu51Y+xqsCtWf80lXo=
> =G52x
> -----END PGP SIGNATURE-----
> *** modified file 'contrib/plugins/changeset/__init__.py'
> --- contrib/plugins/changeset/__init__.py
> +++ contrib/plugins/changeset/__init__.py
> @@ -87,10 +87,10 @@
>                  auto_commit=auto_commit)
>
>
> -if hasattr(bzrlib.commands, 'register_plugin_cmd'):
> -    bzrlib.commands.register_plugin_cmd(cmd_changeset)
> -    bzrlib.commands.register_plugin_cmd(cmd_verify_changeset)
> -    bzrlib.commands.register_plugin_cmd(cmd_apply_changeset)
> +if hasattr(bzrlib.commands, 'register_plugin_command'):
> +    bzrlib.commands.register_plugin_command(cmd_changeset)
> +    bzrlib.commands.register_plugin_command(cmd_verify_changeset)
> +    bzrlib.commands.register_plugin_command(cmd_apply_changeset)
>
>      bzrlib.commands.OPTIONS['reverse'] = None
>      bzrlib.commands.OPTIONS['auto-commit'] = None
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20050622/9787f4a3/attachment.pgp 


More information about the bazaar mailing list