[Python-Dev] PEP: Migrating the Python CVS to Subversion

"Martin v. Löwis" martin at v.loewis.de
Fri Jul 29 07:11:05 CEST 2005


Tim Peters wrote:
> Ah, before I forget, "single repository" has worked very well for Zope
> (which includes top-level Zope2, Zope3, ZODB, ZConfig, zdaemon, ...
> projects):
> 
>     http://svn.zope.org/
> 
> Long URLs don't really get in the way in practice (rarely a need to
> type one after initial checkout; even "svn switch" is usually just a
> tail-end cmdline edit starting from a copy+paste of "svn info"
> output).

That would indeed give conversion problems: cvs2svn automatically
generates tags/trunk/branches in the root, with the original CVS
modules below; there is a single space for tags and branches
(as is in the original CVS repository).

I would see two possible conversion procedures:
1. convert the modules one-by-one, adding to the same repository.
   I.e. python would get all the small revision numbers, then
   peps, then sandbox, and so on. Cross-module tags would not
   be supported (but likely don't exist in the first place),
   and the revision number would not increase in historical order.
2. convert the entire CVS, then rearrange things through
   svn move. This would be tedious to do (atleast for tags/branches),
   and it would cause all files to be renamed right from the
   scratch (some svn clients fail to display history past moves).

So for all who would prefer to see a single repository, could
somebody please
1. state how precisely the repository should be organized
   (with exact URLs on svn.python.org - eg. which of the
   non-dist directories becomes toplevel, which ones
   get their own tags/branches/trunk, etc).
2. state how the conversion should be performed

Regards,
Martin


More information about the Python-Dev mailing list