[Distutils] bug in svn detection
Phillip J. Eby
pje at telecommunity.com
Mon Aug 6 00:31:32 CEST 2007
At 12:52 AM 8/5/2007 -0700, Keith Dart wrote:
>I guess Phillip would be most interested in this:
>
> 51900 phillip.eby
> 51900 phillip.eby if data.startswith('8'):
> 51900 phillip.eby data =
> map(str.splitlines,data.split('\n\x0c\n'))
> 51900 phillip.eby del data[0][0] # get rid of the '8'
> 51900 phillip.eby dirurl = data[0][3]
> 56277 phillip.eby localrev = max([int(d[9]) for d
> in data if len(d)>9 and d[9]]+[0])
> 51900 phillip.eby elif data.startswith('<?xml'):
> 51900 phillip.eby dirurl =
> urlre.search(data).group(1) # get repository URL
> 56277 phillip.eby localrev = max([int(m.group(1))
> for m in revre.finditer(data)]+[0])
I don't see why; the fixes are already in setuptools SVN repository,
as you can see here in r56277. AFAIK, this code is in setuptools
0.6c6, i.e., the current release.
More information about the Distutils-SIG
mailing list