Rev 1689: Disable explicit reporting of revnum for all inventory entries. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk

Jelmer Vernooij jelmer at samba.org
Sun Aug 31 19:31:07 BST 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/trunk

------------------------------------------------------------
revno: 1689
revision-id: jelmer at samba.org-20080831183105-6frofg6ba1tq0uo8
parent: jelmer at samba.org-20080831155123-i8f3it1nbdyi3bux
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Sun 2008-08-31 20:31:05 +0200
message:
  Disable explicit reporting of revnum for all inventory entries.
modified:
  AUTHORS                        AUTHORS-20060508114718-4c90c0062645106d
  NEWS                           news-20061231030336-h9fhq245ie0de8bs-1
  fetch.py                       fetch.py-20060625004942-x2lfaib8ra707a8p-1
=== modified file 'AUTHORS'
--- a/AUTHORS	2008-08-31 13:29:41 +0000
+++ b/AUTHORS	2008-08-31 18:31:05 +0000
@@ -8,6 +8,7 @@
 Erik Bågfors
 Alexander Belchenko
 Andrew Bennetts
+Wouter Bolsterlee
 Alexey Borzenkov
 Andrew Cowie
 Aaron Bentley

=== modified file 'NEWS'
--- a/NEWS	2008-08-31 13:39:14 +0000
+++ b/NEWS	2008-08-31 18:31:05 +0000
@@ -18,6 +18,9 @@
    * Fix forward declarations of Python types, fixes 
      compilation on mingw. (#263284)
 
+   * Disable explicit revnum reporting for inventory entries during fetch.
+     (It caused speed regressions and is not necessary).
+
   FEATURES
 
    * Use native Windows password prompter on Windows. (#263287)

=== modified file 'fetch.py'
--- a/fetch.py	2008-08-31 15:51:23 +0000
+++ b/fetch.py	2008-08-31 18:31:05 +0000
@@ -585,11 +585,6 @@
 def report_inventory_contents(reporter, inv, revnum, start_empty):
     try:
         reporter.set_path("", revnum, start_empty)
-
-        # Report status of existing paths
-        for path, entry in inv.iter_entries():
-            if path != "":
-                reporter.set_path(path.encode("utf-8"), revnum, start_empty)
     except:
         reporter.abort()
         raise




More information about the bazaar-commits mailing list