Rev 460: Fix test in file:///data/jelmer/bzr-svn/nestedtrees/
Jelmer Vernooij
jelmer at samba.org
Tue Jul 8 04:45:25 BST 2008
At file:///data/jelmer/bzr-svn/nestedtrees/
------------------------------------------------------------
revno: 460
revision-id: jelmer at samba.org-20080708034524-0w9x92xi8zt1mwl6
parent: jelmer at samba.org-20080708030215-x3gbq2lu9rdanmfs
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: nestedtrees
timestamp: Tue 2008-07-08 05:45:24 +0200
message:
Fix test
modified:
tests/test_fetch.py test_fetch.py-20070624210302-luvgwjmlfysk5qeq-1
=== modified file 'tests/test_fetch.py'
--- a/tests/test_fetch.py 2008-07-08 01:21:53 +0000
+++ b/tests/test_fetch.py 2008-07-08 03:45:24 +0000
@@ -1885,11 +1885,11 @@
self.client_commit("dc2", "My Message")
oldrepos = Repository.open(self.repos_url2)
- newdir = BzrDir.create("f", format=format.get_rich_root_format())
+ newdir = BzrDir.create("f", format=format.get_nested_tree_format())
newrepos = newdir.create_repository()
oldrepos.copy_content_into(newrepos)
mapping = oldrepos.get_mapping()
- inv = oldrepos.get_inventory(
+ inv = newrepos.get_inventory(
oldrepos.generate_revision_id(1, "", mapping))
self.assertTrue(inv.has_filename("somedir/bla"))
self.assertEqual(inv.path2id("somedir/bla"),
More information about the bazaar-commits
mailing list