[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: date parsing problem

From: Barry Scott <barry_at_barrys-emacs.org>
Date: 2007-05-12 20:46:44 CEST

On May 11, 2007, at 07:26, Karl Fogel wrote:

> Barry Scott <barry@barrys-emacs.org> writes:
>> In pysvn I use svn_parse_date to convert the string date from
>> svn_client_log
>> into apr_time_t.
>>
>> One user reports that the dates are not getting converted.
>> He used vss2svn to create the repos with these bad dates.
>
> While there might be an argument for making the Subversion date parser
> more tolerant, it does seem like this is a bug in vss2svn, which is a
> separate project. Subversion is only responsible for the repositories
> it creates. If some other tool creates a repository that looks a lot
> like a Subversion repository (except that it's not, quite, because it
> uses a different date format), Subversion may not be able to parse
> that repository.

I totally agree and told my user the same.

However the key question is the claim by my user that only pysvn
fails on this bad repos but that TSVN works and SVN command line works.
This does not make sense to me given svn_parse_date fails.

Barry

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 12 20:47:15 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.