[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - loader.py:1.7
Fred L. Drake, Jr.
fred at zope.com
Mon Apr 26 17:55:14 EDT 2004
Update of /cvs-repository/Packages/zpkgtools/zpkgtools
In directory cvs.zope.org:/tmp/cvs-serv18768
Modified Files:
loader.py
Log Message:
apply the selected tag to the Subversion URL
=== Packages/zpkgtools/zpkgtools/loader.py 1.6 => 1.7 ===
--- Packages/zpkgtools/zpkgtools/loader.py:1.6 Mon Apr 26 13:09:22 2004
+++ Packages/zpkgtools/zpkgtools/loader.py Mon Apr 26 17:55:13 2004
@@ -163,6 +163,9 @@
def load_svn(self, url):
if self.svnloader is None:
self.svnloader = svnloader.SubversionLoader()
+ parsed_url = svnloader.parse(url)
+ repo_url = cvsloader.RepositoryUrl(None, tag=self.tag)
+ url = parsed_url.join(repo_url).getUrl()
tmp = tempfile.mkdtemp(prefix="svnloader-")
path = self.svnloader.load(url, tmp)
self.add_working_dir(url, tmp, path, True)
More information about the Zope-CVS
mailing list