From 83e06581ad007e1a1f27f311ccb3a747f0a81ade Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Tue, 23 Jun 2009 11:35:23 -0400 Subject: [PATCH] Added Bug.extra_strings to support add-on functionality, e.g. `be tag`. Versioned properties whose data is a mutable type are tricky, since the simple comparisons we'd been using in libbe.properties.change_hook_property don't work for mutables. For now, we avoid that problem by assuming a change happened whenever a mutable property is set. change_hook_property is a bit untidy at the moment while I work out how to deal with mutables. As an example of using Bug.extra_strings to patch on some useful functionality, I've written becommands/tag.py. I'd suggest future add-ons (e.g. becommands/depend.py?) use the "