[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: Seth Falcon <sfalcon_at_fhcrc.org>
Date: 2004-01-29 19:38:29 CET

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
Received on Thu Jan 29 19:49:25 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.