A horrible and hacky filter for the "false orphan" problem...

Toby Johnson toby at etjohnson.us
Wed Jan 24 09:20:12 CST 2007


Stephen Lee wrote:
> As I mentioned before, the 0.11.0 alpha1 (which still seems to be the 
> latest .exe version actually available - I never got as far as sorting 
> out the required perl environment under windows) got somewhat confused 
> by my database...
>
> Some files, and even entire projects were in the orphaned folder when 
> they should have been in other locations, mainly it seemed due to 
> confusion caused by multiple files/projects that had used the same 
> name at different points in time, or had been renamed back and forth etc.
>
> Others were "genuine orphans" - e.g. files that had been branched, and 
> one of the branches deleted, or had been initially created in a 
> project that was later destroyed after sharing the files to another 
> project.
>
> While I could have fixed it up afterwards in Subversion, this would 
> have needed repeating for every labelled version (in my case entire 
> subprojects that had been created very early in the development were 
> incorrectly orphaned, and were thus missing from every labelled version)
>
>
> The attached "filterorphan.cpp" is run as a filter on the dumpfile. I 
> used the equivalent of the following command sequence for each iteration:

Thanks Stephen, I have created a "contrib" directory and checked your 
code in there. I added your notes into a README.txt file.

Yes, 0.11.0-a1 is still the latest .exe version available; there has not 
been much activity on this project in the past several months but now 
that we're seeing some issues get cleared up I'll probably create 
another one shortly.

toby



More information about the vss2svn-users mailing list