[Pkg-bazaar-commits] ./bzr/unstable r771: - more tests of directory renames
Martin Pool
mbp at sourcefrog.net
Fri Apr 10 08:21:00 UTC 2009
------------------------------------------------------------
revno: 771
committer: Martin Pool <mbp at sourcefrog.net>
timestamp: Fri 2005-06-24 19:09:02 +1000
message:
- more tests of directory renames
modified:
bzrlib/selftest/whitebox.py
-------------- next part --------------
=== modified file 'bzrlib/selftest/whitebox.py'
--- a/bzrlib/selftest/whitebox.py 2005-06-24 08:52:53 +0000
+++ b/bzrlib/selftest/whitebox.py 2005-06-24 09:09:02 +0000
@@ -31,6 +31,16 @@
self.check_inventory_shape(inv,
['dir', 'dir/sub', 'dir/sub/file'])
+ b.rename_one('dir', 'newdir')
+
+ self.check_inventory_shape(b.inventory,
+ ['newdir', 'newdir/sub', 'newdir/sub/file'])
+
+ b.rename_one('newdir/sub', 'newdir/newsub')
+ self.check_inventory_shape(b.inventory,
+ ['newdir', 'newdir/newsub',
+ 'newdir/newsub/file'])
+
More information about the Pkg-bazaar-commits
mailing list