Rev 2428: Set default wt to 4, as in dirstate branch in http://sourcefrog.net/bzr/dirstate-plus-subtree
Martin Pool
mbp at sourcefrog.net
Fri Mar 2 09:27:59 GMT 2007
At http://sourcefrog.net/bzr/dirstate-plus-subtree
------------------------------------------------------------
revno: 2428
revision-id: mbp at sourcefrog.net-20070302092757-gjmoq58z9setp7kp
parent: mbp at sourcefrog.net-20070302091457-r8xcdqoyesxfuijs
committer: Martin Pool <mbp at sourcefrog.net>
branch nick: dirstate-plus-subtree
timestamp: Fri 2007-03-02 20:27:57 +1100
message:
Set default wt to 4, as in dirstate branch
modified:
bzrlib/workingtree.py workingtree.py-20050511021032-29b6ec0a681e02e3
=== modified file 'bzrlib/workingtree.py'
--- a/bzrlib/workingtree.py 2007-03-02 08:55:16 +0000
+++ b/bzrlib/workingtree.py 2007-03-02 09:27:57 +0000
@@ -2707,14 +2707,10 @@
def _initial_inventory(self):
return Inventory(root_id=generate_ids.gen_root_id())
-# formats which have no format string are not discoverable
-# and not independently creatable, so are not registered.
-__default_format = WorkingTreeFormat3()
-## __default_format = WorkingTreeFormat4()
+__default_format = WorkingTreeFormat4()
WorkingTreeFormat.register_format(__default_format)
-WorkingTreeFormat.register_format(WorkingTreeFormat4())
+WorkingTreeFormat.register_format(WorkingTreeFormat3())
WorkingTreeFormat.register_format(WorkingTreeFormatAB1())
-## WorkingTreeFormat.register_format(WorkingTreeFormat3())
WorkingTreeFormat.set_default_format(__default_format)
# formats which have no format string are not discoverable
# and not independently creatable, so are not registered.
More information about the bazaar-commits
mailing list