Rev 5155: Minor tweak in http://bazaar.launchpad.net/~jameinel/bzr/2.2-move-to-front-if-changed-562429

John Arbash Meinel john at arbash-meinel.com
Wed Apr 14 06:07:09 BST 2010


At http://bazaar.launchpad.net/~jameinel/bzr/2.2-move-to-front-if-changed-562429

------------------------------------------------------------
revno: 5155
revision-id: john at arbash-meinel.com-20100414050653-5l0z0hn2pk2y2uf5
parent: john at arbash-meinel.com-20100414050559-r2y3qtq8hli1tkp3
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.2-move-to-front-if-changed-562429
timestamp: Wed 2010-04-14 00:06:53 -0500
message:
  Minor tweak
-------------- next part --------------
=== modified file 'bzrlib/index.py'
--- a/bzrlib/index.py	2010-04-14 05:05:59 +0000
+++ b/bzrlib/index.py	2010-04-14 05:06:53 +0000
@@ -1442,8 +1442,8 @@
 
         for offset, (name, idx) in enumerate(indices_info):
             if idx in hit_indices:
+                hit_names.append(name)
                 new_hit_indices.append(idx)
-                hit_names.append(name)
                 if len(new_hit_indices) == len(hit_indices):
                     # We've found all of the hit entries, everything else is
                     # unhit



More information about the bazaar-commits mailing list