Comment 7 for bug 408824

Revision history for this message
Martin Pool (mbp) wrote :

I think this is the fix:

=== modified file 'bzrlib/bzrdir.py'
--- bzrlib/bzrdir.py 2009-08-14 09:31:37 +0000
+++ bzrlib/bzrdir.py 2009-08-14 11:02:19 +0000
@@ -130,8 +130,7 @@

     def check_conversion_target(self, target_format):
         target_repo_format = target_format.repository_format
- source_repo_format = self._format.repository_format
- source_repo_format.check_conversion_target(target_repo_format)
+ self.open_repository()._format.check_conversion_target(target_repo_format)

     @staticmethod
     def _check_supported(format, allow_unsupported,

shell returned 1