Rev 2358: Document some future tests for paths2ids. in sftp://bazaar.launchpad.net/%7Ebzr/bzr/dirstate/

Robert Collins robertc at robertcollins.net
Thu Feb 22 02:50:19 GMT 2007


At sftp://bazaar.launchpad.net/%7Ebzr/bzr/dirstate/

------------------------------------------------------------
revno: 2358
revision-id: robertc at robertcollins.net-20070222024924-bokuavlg2yglgtja
parent: robertc at robertcollins.net-20070222024555-fxhlp024havpj9hd
committer: Robert Collins <robertc at robertcollins.net>
branch nick: dirstate
timestamp: Thu 2007-02-22 13:49:24 +1100
message:
  Document some future tests for paths2ids.
modified:
  bzrlib/tests/workingtree_implementations/test_paths2ids.py test_paths2ids.py-20070222011621-kesvovdwm69nndtx-1
=== modified file 'bzrlib/tests/workingtree_implementations/test_paths2ids.py'
--- a/bzrlib/tests/workingtree_implementations/test_paths2ids.py	2007-02-22 01:41:09 +0000
+++ b/bzrlib/tests/workingtree_implementations/test_paths2ids.py	2007-02-22 02:49:24 +0000
@@ -27,6 +27,16 @@
 from bzrlib.tests.workingtree_implementations import TestCaseWithWorkingTree
 
 
+# TODO: This needs an additional test: do a merge, then do a
+# paths2id(trees=left parent only), and also with (trees=all parents) to check
+# that only the requested trees are considered - i.e. have an unversioned path
+# in the unlisted tree, or an extra file that moves into the selected path but
+# should not be returned
+
+# TODO: test that supplying paths with duplication - i.e. foo, foo, foo/bar -
+# does not result in garbage out.
+
+
 class TestPaths2Ids(TestCaseWithWorkingTree):
 
     def assertExpectedIds(self, ids, tree, paths, trees=None,



More information about the bazaar-commits mailing list