Dirk wrote:

I tried your suggestion and from what I can see it looks good. But I don't use a mixed setup, so someone else should try this out.

Ok, one major drawback: we have to compute the size of the converted files for the Content-length: attribute. Otherwise the import will fail. So we have to do the conversion into a temporary file upfront and then copy the temporary file. This will also be necessary for the MD5 checksum.

I think we should be able to simply keep a running sum of the content-length as we output each line. I can't think of any way around computing MD5 sums aside from a temp file, but have we determined that it's really necessary to compute those? It just seems a bit of a shame to slow everything down with a tempfile, although with all the other disk access already it probably won't be too much of an incremental change...

toby

_______________________________________________
vss2svn-users mailing list
Project homepage:
http://www.pumacode.org/projects/vss2svn/
Subscribe/Unsubscribe/Admin:
http://lists.pumacode.org/mailman/listinfo/vss2svn-users-lists.pumacode.org
Mailing list web interface (with searchable archives):
http://dir.gmane.org/gmane.comp.version-control.subversion.vss2svn.user

Reply via email to