Rev 10: Correct optimiser disabling. in http://people.ubuntu.com/~robertc/baz2.0/plugins/groupcompress/trunk

Robert Collins robertc at robertcollins.net
Tue Jul 15 13:58:22 BST 2008


At http://people.ubuntu.com/~robertc/baz2.0/plugins/groupcompress/trunk

------------------------------------------------------------
revno: 10
revision-id: robertc at robertcollins.net-20080715125820-dbzpbzpv7vy92tg0
parent: robertc at robertcollins.net-20080715124549-jt2k0bjdhtump2u1
committer: Robert Collins <robertc at robertcollins.net>
branch nick: trunk
timestamp: Tue 2008-07-15 22:58:20 +1000
message:
  Correct optimiser disabling.
modified:
  repofmt.py                     repofmt.py-20080715094215-wp1qfvoo7093c8qr-1
=== modified file 'repofmt.py'
--- a/repofmt.py	2008-07-15 12:45:49 +0000
+++ b/repofmt.py	2008-07-15 12:58:20 +0000
@@ -292,7 +292,7 @@
 def pack_incompatible(source, target, orig_method=InterPackRepo.is_compatible):
     formats = (RepositoryFormatPackGCPlain, RepositoryFormatPackGCRichRoot,
         RepositoryFormatPackGCSubtrees)
-    if isinstance(source._format, formats) or isinstance(target, formats):
+    if isinstance(source._format, formats) or isinstance(target._format, formats):
         return False
     else:
         return orig_method(source, target)




More information about the bazaar-commits mailing list