bzr-0.1-rc1: selftest bug (windows specific): problem with os.sep
Alexander Belchenko
bialix at ukr.net
Sun Oct 9 21:35:44 BST 2005
Test test_commit_new_subdir_child_selective
(bzrlib.selftest.test_commit.TestCommit) fails on Windows with following
traceback:
Traceback (most recent call last):
File "E:\work\Python\bzr\0.1\bzr-v4\bzrlib\selftest\test_commit.py",
line 245, in test_commit_new_subdir_child_selective
self.assertEqual('1', inv['dirid'].revision)
File "E:\work\Python\bzr\0.1\bzr-v4\bzrlib\inventory.py", line 815,
in __getitem__
raise BzrError("file_id {%s} not in inventory" % file_id)
BzrError: file_id {dirid} not in inventory
In test.log I see line that may be cause of this problem:
DEBUG Selecting files for commit with filter ['dir/file1']
Because Windows use '\\' as os.sep may be this filter won't work. In
manual mode command:
$ bzr ci dir/file1
works fine.
Log of test is attached.
Alexander
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: test.log
Url: https://lists.ubuntu.com/archives/bazaar/attachments/20051009/8e07c03c/attachment.diff
More information about the bazaar
mailing list