Hi everyone! Last month I had to convert a VSS database to Subversion using vss2svn. Since vss2svn is not able to extract single projects into a dumpfile, I had to do this myself.
I ended up writing a bash script for that and I am going to make this publicly available. With that script you can do a fully automated conversion and splitting of the big dumpfile created by vss2svn into single repositories. You just specify a few things, like projects to keep and destroy and also some dependencies. The script then handles the rest for you and you can go to sleep and have the result the next day. But before this goes public, I wanted to hear your opinion about a feature that I hacked into ActionHandler.pm for my needs. Beware, it is the first time ever that I touched perl code. I didn't even read any docs. However, the change is extremely simple, but effective. See attached diff file. %orphanedReplace just has some demo entries in this diff file. The list was certainly 20 times as long. The purpose of this modification is to give all these "orphaned" folders a real name - their actual names how they were back then. I had put a lot of energy in finding out the real names. Using the VSS history I actually did manage to find all the real names. I am dead sure that there is a much better way of having this feature in vss2svn, like reading the orphaned<->realname pairs from some file. But I have no idea how to do this, since I have no real knowledge of perl. What do you think of this feature? Could somebody with more perl knowledge than me maybe program such a feature in a better way than I did? This would be great and it would also simplify the use of my script a great deal. Cheers, Ingo =;->
ActionHandler.diff
Description: Binary data
_______________________________________________ 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