Rev 808: Fix compatibility with Subversion 1.5. in file:///data/jelmer/bzr-svn/0.4/
Jelmer Vernooij
jelmer at samba.org
Fri Dec 14 15:56:28 GMT 2007
At file:///data/jelmer/bzr-svn/0.4/
------------------------------------------------------------
revno: 808
revision-id:jelmer at samba.org-20071214155628-1rfw35a3hgmpcjqf
parent: jelmer at samba.org-20071214141151-f6yoq56zh1k8a4oi
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Fri 2007-12-14 16:56:28 +0100
message:
Fix compatibility with Subversion 1.5.
modified:
logwalker.py logwalker.py-20060621215743-c13fhfnyzh1xzwh2-1
transport.py transport.py-20060406231150-b3472d06b3a0818d
=== modified file 'logwalker.py'
--- a/logwalker.py 2007-12-14 13:52:08 +0000
+++ b/logwalker.py 2007-12-14 15:56:28 +0000
@@ -106,7 +106,7 @@
try:
while self.saved_revnum < to_revnum:
pool = Pool()
- self._get_transport().get_log("/", self.saved_revnum,
+ self._get_transport().get_log("", self.saved_revnum,
to_revnum, self._limit, True,
True, [], rcvr, pool)
pool.destroy()
=== modified file 'transport.py'
--- a/transport.py 2007-12-09 22:48:48 +0000
+++ b/transport.py 2007-12-14 15:56:28 +0000
@@ -407,10 +407,10 @@
def _request_path(self, relpath):
if self._backing_url == self.svn_url:
- return relpath
+ return relpath.strip("/")
newrelpath = urlutils.join(
urlutils.relative_url(self._backing_url+"/", self.svn_url+"/"),
- relpath).rstrip("/")
+ relpath).strip("/")
self.mutter('request path %r -> %r' % (relpath, newrelpath))
return newrelpath
More information about the bazaar-commits
mailing list