Rev 74: Use the right format for testing paths_from_ids, an XML specific helper. in http://people.canonical.com/~robertc/baz2.0/plugins/search/trunk

Robert Collins robertc at robertcollins.net
Tue Nov 3 00:18:52 GMT 2009


At http://people.canonical.com/~robertc/baz2.0/plugins/search/trunk

------------------------------------------------------------
revno: 74
revision-id: robertc at robertcollins.net-20091103001851-wyw60gh2rux6vb1n
parent: robertc at robertcollins.net-20091103001213-cenznj24k2gwdu2j
committer: Robert Collins <robertc at robertcollins.net>
branch nick: trunk
timestamp: Tue 2009-11-03 11:18:51 +1100
message:
  Use the right format for testing paths_from_ids, an XML specific helper.
=== modified file 'NEWS'
--- a/NEWS	2008-12-02 22:36:33 +0000
+++ b/NEWS	2009-11-03 00:18:51 +0000
@@ -11,6 +11,8 @@
   
   CHANGES:
 
+    * Selftest compatibility with bzr 2.0.0 (Robert Collins, #461957, #461952)
+
     * Requires bzr.dev with the log filtering patch for full functionality.
       users not using bzr 1.6b3 or later. (Robert Collins)
 

=== modified file 'tests/test_inventory.py'
--- a/tests/test_inventory.py	2008-06-29 22:33:07 +0000
+++ b/tests/test_inventory.py	2009-11-03 00:18:51 +0000
@@ -33,7 +33,7 @@
             tree.unlock()
 
     def test_paths_from_ids_basic(self):
-        tree = self.make_branch_and_tree('foo')
+        tree = self.make_branch_and_tree('foo', format="1.14")
         t = self.get_transport('foo')
         t.mkdir('subdir')
         t.mkdir('subdir/nested-dir')




More information about the bazaar-commits mailing list