From: W. Trevor King Date: Fri, 10 Jul 2009 18:14:24 +0000 (-0400) Subject: Save whole bugdir in becommands/tag.py. X-Git-Tag: 1.0.0~64^2~18^2~1 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c5da71a900d6263e29deb94d81aa22e6ba6f34ea;p=be.git Save whole bugdir in becommands/tag.py. It doesn't matter now, but at some point Bugdir might implement some sort of repo-wide caching which would need to be saved. The BugDir.save() method should be intelligent enough to not save things that have not changed, so efficiency should not be effected either. --- diff --git a/becommands/tag.py b/becommands/tag.py index ab0324e..1b20ddb 100644 --- a/becommands/tag.py +++ b/becommands/tag.py @@ -102,7 +102,7 @@ def execute(args, test=False): else: # add the tag estrs.append(tag_string) bug.extra_strings = estrs # reassign to notice change - bug.save() + bd.save() tags = [] for estr in bug.extra_strings: