Rev 3669: Alert users when they end up upgrading their repository because of the --stacked parameter. in http://bzr.arbash-meinel.com/branches/bzr/jam-integration

John Arbash Meinel john at arbash-meinel.com
Tue Sep 2 21:26:38 BST 2008


At http://bzr.arbash-meinel.com/branches/bzr/jam-integration

------------------------------------------------------------
revno: 3669
revision-id: john at arbash-meinel.com-20080902202633-l8y2dqsd1no2jegx
parent: john at arbash-meinel.com-20080829210816-3io9u83nt12ul2z2
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: jam-integration
timestamp: Tue 2008-09-02 15:26:33 -0500
message:
  Alert users when they end up upgrading their repository because of the --stacked parameter.
-------------- next part --------------
=== modified file 'bzrlib/bzrdir.py'
--- a/bzrlib/bzrdir.py	2008-08-29 19:32:00 +0000
+++ b/bzrlib/bzrdir.py	2008-09-02 20:26:33 +0000
@@ -1049,6 +1049,9 @@
                 repo_format = pack_repo.RepositoryFormatKnitPack5RichRoot()
             else:
                 repo_format = pack_repo.RepositoryFormatKnitPack5()
+            note('Stacking requires repository format:\n  %s\n'
+                 'Not preserving source format.',
+                 repo_format.get_format_description())
             format.repository_format = repo_format
         return format
 



More information about the bazaar-commits mailing list