[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - svnloader.py:1.14
Fred L. Drake, Jr.
fred at zope.com
Thu Jun 10 19:00:25 EDT 2004
Update of /cvs-repository/Packages/zpkgtools/zpkgtools
In directory cvs.zope.org:/tmp/cvs-serv6914/zpkgtools
Modified Files:
svnloader.py
Log Message:
fix bug in joining a Subversion URL with a repository: URL
=== Packages/zpkgtools/zpkgtools/svnloader.py 1.13 => 1.14 ===
--- Packages/zpkgtools/zpkgtools/svnloader.py:1.13 Thu Jun 3 23:36:26 2004
+++ Packages/zpkgtools/zpkgtools/svnloader.py Thu Jun 10 18:59:54 2004
@@ -133,11 +133,11 @@
" Subversion URL")
parts = split_on_tag(relurl.path)
if parts is None:
- path = posixpath.join(tail, relurl.path)
+ path = posixpath.join(self.tail, relurl.path)
if path == ".." or path.startswith("../"):
raise ValueError("could not join with repository: URL")
prefix = self.prefix
- tail = self.path
+ tail = path
else:
prefix, tail, tag = parts
if tag and relurl.tag and tag != relurl.tag:
More information about the Zope-CVS
mailing list