Rev 28: Do not register a chk repository format unless chk is available. in http://people.ubuntu.com/~robertc/baz2.0/plugins/groupcompress/trunk

Robert Collins robertc at robertcollins.net
Wed Feb 11 22:15:55 GMT 2009


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

------------------------------------------------------------
revno: 28
revision-id: robertc at robertcollins.net-20090211221554-m94ecx4z5o2ezj6s
parent: robertc at robertcollins.net-20090210220817-kz6c11mby007zsu7
committer: Robert Collins <robertc at robertcollins.net>
branch nick: trunk
timestamp: Thu 2009-02-12 09:15:54 +1100
message:
  Do not register a chk repository format unless chk is available.
=== modified file '__init__.py'
--- a/__init__.py	2009-02-10 21:35:17 +0000
+++ b/__init__.py	2009-02-11 22:15:54 +0000
@@ -87,6 +87,11 @@
         hidden=False,
         experimental=True,
         )
+    repo_registry.register_lazy(
+        'Bazaar development format - chk+gc (needs bzr.dev from 1.12)\n',
+        'bzrlib.plugins.groupcompress.repofmt',
+        'RepositoryFormatPackGCPlainCHK',
+        )
 except ImportError:
     pass
 
@@ -106,11 +111,6 @@
     'bzrlib.plugins.groupcompress.repofmt',
     'RepositoryFormatPackGCSubtrees',
     )
-repo_registry.register_lazy(
-    'Bazaar development format - chk+gc (needs bzr.dev from 1.12)\n',
-    'bzrlib.plugins.groupcompress.repofmt',
-    'RepositoryFormatPackGCPlainCHK',
-    )
 
 
 




More information about the bazaar-commits mailing list