Hi,
I've been given the task of moving our internal repositories from VSS to SVN. Which is excellent! Vss2svn has been the tool for the job. However in some places in our repository we have people committing large files into source safe. This has caused me some problems when converting them into the subversion dumpfile. After a bit of debugging through the Perl code I traced the problem to Dumpfile.pm line 748 where it tries to write out the contents in one go. This is obviously going to cause a problem if you have a 350Mb binary file to be written in one go. So I've produced a patch that works for me. However it has a problem that I'd appreciate some help sorting out: * I didn't know what would be a good size for the block to write out in one go. I chose 100000 characters. What's the underlying buffers size? Setting that as the size of the text to output seems sensible to me. It also raises the question: should the script use a different method for writing out the dump file? (I've not used Perl for a long time and can't remember if there are alternatives) I've attached my patch to Dumpfile.pm in case anyone else comes across some thing similar they need to sort out. Thanks for a good tool George --- Disclaimer --- Unless otherwise agreed expressly in writing by a Director of Edina Software, this communication is to be treated as confidential and the information in it may not be used or disclosed except for the purpose for which it has been sent. If you have reason to believe that you are not the intended recipient of this communication, please contact the sender immediately. ______________________________________________________________________ This email has been scanned by the MessageLabs Email Security System. For more information please visit http://www.messagelabs.com/email ______________________________________________________________________
Dumpfile.pm.diff
Description: Dumpfile.pm.diff
_______________________________________________ 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