[Zope-CVS] CVS: Packages/zpkgtools/zpkgtools - svnloader.py:1.13

Fred L. Drake, Jr. fred at zope.com
Thu Jun 3 23:36:30 EDT 2004


Update of /cvs-repository/Packages/zpkgtools/zpkgtools
In directory cvs.zope.org:/tmp/cvs-serv1304

Modified Files:
	svnloader.py 
Log Message:
introduce a base class for the different Subversion URLs; this in
needed due a weakness in the model for revision control URLs


=== Packages/zpkgtools/zpkgtools/svnloader.py 1.12 => 1.13 ===
--- Packages/zpkgtools/zpkgtools/svnloader.py:1.12	Thu May 13 11:04:20 2004
+++ Packages/zpkgtools/zpkgtools/svnloader.py	Thu Jun  3 23:36:26 2004
@@ -106,7 +106,11 @@
     return True
 
 
-class SubversionUrl(cvsloader.UrlBase):
+class SubversionUrlBase(cvsloader.UrlBase):
+    """Base class for all Subversion URL classes."""
+
+
+class SubversionUrl(SubversionUrlBase):
     """Parsed representation for a Subversion URL that appears to use the
     'standard' trunk/tags tree structure.
     """
@@ -147,7 +151,7 @@
         return SubversionUrl(prefix, tail, tag)
 
 
-class TaglessSubversionUrl(cvsloader.UrlBase):
+class TaglessSubversionUrl(SubversionUrlBase):
     """Parsed representation for a Subversion URL that does not appear
     to use the 'standard' trunk/tags tree structure.
 




More information about the Zope-CVS mailing list