aboutsummaryrefslogtreecommitdiffstats
path: root/becommands
diff options
context:
space:
mode:
authorW. Trevor King <wking@drexel.edu>2009-07-27 07:47:35 -0400
committerW. Trevor King <wking@drexel.edu>2009-07-27 07:47:35 -0400
commit0cacaf8809ade66e595361b30290234be3a6d8b0 (patch)
tree910ea2aa7aae8e197f9dadf00334fd7384e88e67 /becommands
parent2cc6145453fd50fb034e7578362159484ab8e6e7 (diff)
downloadbugseverywhere-0cacaf8809ade66e595361b30290234be3a6d8b0.tar.gz
Added default to settings_object.versioned_property's change_hook_property.
Now change_hook properties handle defaults, which allows them to avoid an initial None -> default save hook trigger. Removed the now-redundant read-only mode business in becommands/diff.py.
Diffstat (limited to 'becommands')
-rw-r--r--becommands/diff.py6
1 files changed, 0 insertions, 6 deletions
diff --git a/becommands/diff.py b/becommands/diff.py
index b0ef907..1ab2135 100644
--- a/becommands/diff.py
+++ b/becommands/diff.py
@@ -65,12 +65,6 @@ def execute(args, manipulate_encodings=True):
else:
if revision == None: # get the most recent revision
revision = bd.rcs.revision_id(-1)
- # move bd into memory-only mode to avoid altering disk version.
- bd.load_all_bugs()
- for bug in bd:
- bug.load_settings()
- bug.load_comments()
- bd.set_sync_with_disk(False)
old_bd = bd.duplicate_bugdir(revision)
d = diff.Diff(old_bd, bd)
tree = d.report_tree()