ANNOUNCE: Python CVS tree moved to SourceForge
Robin Becker
robin at jessikat.demon.co.uk
Mon May 22 05:10:44 EDT 2000
In article <qMXQyJA33OK5EwJ5 at jessikat.demon.co.uk>, Robin Becker <robin at jessikat.demon.co.uk> writes
>In article <200005212205.PAA05512 at cj20424-a.reston1.va.home.com>, Guido van
>Rossum
><guido at python.org> writes
>>If you have an existing working tree that points to the cvs.python.org
>>repository, you may want to retarget it to the SourceForge tree. This
>>can be done painlessly with Greg Ward's cvs_chroot script:
>>
>> http://starship.python.net/~gward/python/
>
>running win9x 1.5.2 I get this with Greg's script
>
>
>C:\Python\devel\Python>python \python\rgbx\cvs_chroot.py :pserver:anonymous at cvs.python.sourceforge.net:/cvsroot/python
>Finding CVS directories...FIND: Parameter format not correct
>found 0 of them
>
>I can certainly see ./CVS though.
Whoops :(
I guess Greg's obsession with cvs tools doesn't extend to not using unix specific stuff to allow them to work with non
unix architectures.
I replaced find_cvs_dirs with
def find_cvs_dirs (start_dir):
from os.path import walk
def visit(D,dirname,names):
from os.path import join, isdir
d = filter(lambda x: x=='CVS',names)
if len(d):
p = join(dirname,d[0])
if isdir(p): D.append(p)
dirs = []
walk(start_dir,visit,dirs)
return dirs
--
Robin Becker
More information about the Python-list
mailing list