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

RE: cvs2svn: Input record exceeds maximum length. Specify larger maximum.

From: Rob van Oostrum <rob.vanoostrum_at_blastradius.com>
Date: 2004-01-29 19:55:49 CET

The problem was not with line endings. It worked fine after I edited the
python script to add the option to sort to allow for larger input records
... the only drawback is that this makes the script Windows-specific, which
is less than elegant I suppose ...

> -----Original Message-----
> From: Seth Falcon [mailto:sfalcon@fhcrc.org]
> Sent: Thursday, January 29, 2004 1:38 PM
> To: users@subversion.tigris.org
> Subject: Re: cvs2svn: Input record exceeds maximum length. Specify
> larger maximum.
>
>
> Perhaps the sort should be done within Python instead of calling an
> external sort? Would that avoid line ending problems?
>
> I think the pass3 function would look like:
>
> def pass3(ctx):
> # sort the log files
> log_lines = file(ctx.log_fname_base + CLEAN_REVS_SUFFIX,
> 'r').readlines()
> log_lines.sort()
> file(ctx.log_fname_base + SORTED_REVS_SUFFIX,
> 'w').writelines(log_lines)
>
>
> Just a thought. There may be performance or other reasons why this
> wouldn't be a good idea...
>
> + seth
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jan 29 19:58:31 2004

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

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