[patch] remove extra tree delta from info

Martin Pool mbp at canonical.com
Thu Dec 21 06:03:43 GMT 2006


I think this was mentioned before but never cleaned up: info does an
extra tree delta whose result is ignored.

-- 
Martin
-------------- next part --------------
# Bazaar revision bundle v0.8
#
# message:
#   remove unnecessary tree delta in info calculation
# committer: Martin Pool <mbp at sourcefrog.net>
# date: Thu 2006-12-21 17:00:17.703999996 +1100

=== modified file bzrlib/info.py
--- bzrlib/info.py
+++ bzrlib/info.py
@@ -176,7 +176,6 @@
     branch = working.branch
     basis = working.basis_tree()
     work_inv = working.inventory
-    delta = working.changes_from(basis, want_unchanged=True)
     history = branch.revision_history()
     try:
         tree_last_id = working.get_parent_ids()[0]

=== modified directory  // last-changed:mbp at sourcefrog.net-20061221060017-jwvxn
... o0t642hhmxk
# revision id: mbp at sourcefrog.net-20061221060017-jwvxno0t642hhmxk
# sha1: 16755b2f72c3f3d8bc73bcbc074fccb57b5ae2fe
# inventory sha1: 1faf4969f9ec717c85a40778c079cf25451a5c0c
# parent ids:
#   pqm at pqm.ubuntu.com-20061221043820-0b56b176269f173a
# base id: pqm at pqm.ubuntu.com-20061221043820-0b56b176269f173a
# properties:
#   branch-nick: extra_delta



More information about the bazaar mailing list