I've recently tried to convert a VSS repository to Subversion.
We have all our projects in a single VSS repository (one per folder).

So I first tried to convert the whole repository and use filtering to
only insert entries related to the project I wanted to convert. (method
recommended in the Wiki)
This project had shares that were deleted and various files ended in the
orphaned folder. So when I tried to svndumpfilter for only the project
folder I was getting errors when svn was trying to copy from orphaned
back to the project folder.(missing file error)
So I thought I would include the orphaned folder but then again ran into
trouble because orphaned was trying to copy some files to another
project that was not included in the filter....
To solve that I ended up searching for all copy operations from orphaned
to my project folder and with that created a big include that would
include all the subfolders that were needed by a svn copy/move operation
( orphaned/YYYYAAA ..etc)

After doing that svndumpfilter managed to create a file. I inserted that
file into SVN and tried to compare and realized that some files were
missing (actually whole folders too)
I searched the dumpfile and realized that those missing files and
missing folders were in the orphaned folder and were never moved to the
project folder....

At that point I was about to give up and insert a latest copy into SVN
(effectively losing all history) and then tried to do a backup of the
project restored that backup into a fresh new VSS repository and ran the
conversion again (actually this time I used the latest nightly). At the
end I inserted the content of the dump file and the project folder was
not even there. The whole project was in orphaned. But I just
moved/renamed and then compared. Only very few files were missing.
Those missing files were all files that were created and never modified
(i.e. no history) so I added those missing files manually and ended up
with a complete SVN repository with full history.

I am not sure if the backup/restore is better than svndumpfilter but it
surely is a lot easier/faster. The first try was made using the
recommended alpha version while the second was made using the latest
nightly so maybe the latest nightly would have managed to move missing
files from orphaned on its own using the original repository but who
knows...

Anyway hats off to the developers, that project folder was the worst so
I guess if vss2svn managed to convert this one it should be able to
convert all others.....

_______________________________________________
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