Rev 285: Add test that demonstrates a bug in the http_webdav implementation of in http://people.samba.org/bzr/jelmer/bzr-svn/bzr.dev
Jelmer Vernooij
jelmer at samba.org
Sun Dec 24 23:20:33 GMT 2006
------------------------------------------------------------
revno: 285
revision-id: jelmer at samba.org-20061224231954-aiot9j3k357kcdpl
parent: jelmer at samba.org-20061224222332-x80vi2r6g4veh2jx
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: main
timestamp: Mon 2006-12-25 00:19:54 +0100
message:
Add test that demonstrates a bug in the http_webdav implementation of
svn.ra.get_dir2().
modified:
tests/test_transport.py test_transport.py-20060621232111-xh7xvoblzsrgj79t-1
=== modified file 'tests/test_transport.py'
--- a/tests/test_transport.py 2006-12-22 19:14:38 +0000
+++ b/tests/test_transport.py 2006-12-24 23:19:54 +0000
@@ -50,6 +50,17 @@
t = SvnRaTransport(repos_url)
self.assertTrue(t.listable())
+ def test_get_dir_rev(self):
+ repos_url = self.make_client('d', 'dc')
+ self.build_tree({'dc/foo/bar': 'Data'})
+ self.client_add("dc/foo")
+ self.client_commit("dc", "MSG")
+ self.client_delete("dc/foo")
+ self.client_commit("dc", "MSG2")
+ t = SvnRaTransport(repos_url)
+ lists = t.get_dir2("foo", 1, 0)
+ self.assertTrue("bar" in lists[0])
+
def test_list_dir(self):
repos_url = self.make_client('d', 'dc')
t = SvnRaTransport(repos_url)
More information about the bazaar-commits
mailing list