Rev 4727: Fix a test that used 'adjust_path' to set the root. in http://bazaar.launchpad.net/~jameinel/bzr/2.0.4-change-root-id-494269
John Arbash Meinel
john at arbash-meinel.com
Tue Jan 12 04:31:38 GMT 2010
At http://bazaar.launchpad.net/~jameinel/bzr/2.0.4-change-root-id-494269
------------------------------------------------------------
revno: 4727
revision-id: john at arbash-meinel.com-20100112043121-jazp286iwitj2ro8
parent: john at arbash-meinel.com-20100111225136-5fzkqr75tkqy6m12
committer: John Arbash Meinel <john at arbash-meinel.com>
branch nick: 2.0.4-change-root-id-494269
timestamp: Mon 2010-01-11 22:31:21 -0600
message:
Fix a test that used 'adjust_path' to set the root.
-------------- next part --------------
=== modified file 'bzrlib/tests/test_transform.py'
--- a/bzrlib/tests/test_transform.py 2010-01-11 22:17:42 +0000
+++ b/bzrlib/tests/test_transform.py 2010-01-12 04:31:21 +0000
@@ -2644,7 +2644,7 @@
preview = self.get_empty_preview()
root = preview.new_directory('', ROOT_PARENT, 'tree-root')
# FIXME: new_directory should mark root.
- preview.adjust_path('', ROOT_PARENT, root)
+ preview.fixup_new_roots()
preview_tree = preview.get_preview_tree()
file_trans_id = preview.new_file('a', preview.root, 'contents',
'a-id')
More information about the bazaar-commits
mailing list