Hello,
Did you use the nighlty built? There are a few improvements in orphaned
tracking.
I expect that you have used MOVES and/or Archive/Restore cycles. for
some reason, the "parent" project was not available at the time, when
the orphaned files where created. So a lot of files come out in the
orphaned state. The nightly build will move files out of the orphaned
directory if the items come to live in a real parent. But technically
there is no way to overcome this problem. VSS does not support atomic
commits and it is perfectly possible to have timestamps and
modifications on files prior to the timestamp of the parent project.
That means, you can have a file modification at a time, when the parent
project does not exists.
Dirk
Jan Nielsen schrieb:
Hello,
I'm using vss2svn (with --verbose) to convert a VSS repository which
is just over 1GB in size but I get 9547 errors. With that many errors,
I am guessing that I'm doing something incorrectly.
Despite the errors, an SVN dump file of about 1.7GB is created which
does load into SVN. Unfortunately, the conversion process places the
entirety of the two most active VSS projects (within this repository)
in an orphaned state - not a single file in these two projects show up
SVN.
I have executed VSS analyze with a number of "successful fixes", but
the resulting VSS DB is virtually identical to the previous image, as
is the vss2svn output. The (partial) output of stderr, and stdout are
show below. Here's a summary of the types of errors:
Attempt to add entry 'ZFXBAAAA' with unknown version number
(probably destroyed)
at vss2svn.pl line 706
Attempt to delete unknown item 'JQCBAAAA':
at vss2svn.pl line 706
Attempt to re-add directory '/' at revision 2499, skipping action:
possibly missing delete
at vss2svn.pl line 851
Attempt to recover unknown item 'KQCBAAAA':
at vss2svn.pl line 706
Attempt to rename unknown item 'PVBAAAAA':
at vss2svn.pl line 706
Attempt to share unknown item 'JQCBAAAA':
at vss2svn.pl line 706
Could not open export file './_vss2svn/vssdata/TK/TKDCAAAA.1'
at vss2svn.pl line 851
IMPORTSVN:
FAILED with non-zero exit status 255
at vss2svn.pl line 1092
Parent path missing while trying to add item
'/orphaned/_AADBAAAA/merchants.asp' at revision 325: adding missing
parents
Any ideas on things to try?
Many thanks,
-Jan
stderr:
could not find ParserDetails.ini in /PerlApp/XML/SAX
WARNING: Unknown action 'RestoredProject'
WARNING: Unknown action 'RestoredProject'
WARNING: Unknown action 'RestoredProject'
WARNING: Unknown action 'RestoredProject'
WARNING: Unknown action 'RestoredProject'
WARNING: Unknown action 'RestoredProject'
stdout:
Connecting to database ./_vss2svn/vss_data.db
======== VSS2SVN ========
BEGINNING CONVERSION...
Start Time : Tue Mar 6 22:14:17 2007
VSS Dir : stageweb1
Temp Dir : ./_vss2svn
Dumpfile : after-analyze-fix\stageweb1-dumpfile.txt
SSPHYS exe : ssphys
SSPHYS ver : ssphys 0.21.0, Build 247
XML Parser : XML::SAX::Expat
TASK: INIT
SETTING TASK LOADVSSNAMES
SETTING STEP 0
TASK: LOADVSSNAMES
"ssphys" info "stageweb1/data/names.dat"
STARTING CACHE FOR NameLookup
COMMITTING CACHE 'NameLookup' TO DATABASE
SETTING TASK FINDDBFILES
SETTING STEP 0
TASK: FINDDBFILES
STARTING CACHE FOR Physical
COMMITTING CACHE 'Physical' TO DATABASE
SETTING TASK GETPHYSHIST
SETTING STEP 0
TASK: GETPHYSHIST
STARTING CACHE FOR PhysicalAction
"ssphys" info "stageweb1/data/A/AAAAAAAA"
"ssphys" info "stageweb1/data/A/AAACAAAA"
"ssphys" info "stageweb1/data/A/AABCAAAA"
"ssphys" info "stageweb1/data/A/AACCAAAA"
"ssphys" info "stageweb1/data/A/AADBAAAA"
"ssphys" info "stageweb1/data/A/AADCAAAA"
"ssphys" info "stageweb1/data/A/AAEBAAAA"
"ssphys" info "stageweb1/data/A/AAFBAAAA"
"ssphys" info "stageweb1/data/A/AAHBAAAA"
... (15,288 lines like this)
...
SETTING STEP 0
=============================================================================
ERROR SUMMARY
BUILDACTIONHIST:
Attempt to add entry 'AWWBAAAA' with unknown version number
(probably destroyed)
at vss2svn.pl line 706
Attempt to add entry 'LWWBAAAA' with unknown version number
(probably destroyed)
at vss2svn.pl line 706
Attempt to add entry 'MWWBAAAA' with unknown version number
(probably destroyed)
at vss2svn.pl line 706
Attempt to add entry 'GEXBAAAA' with unknown version number
(probably destroyed)
at vss2svn.pl line 706
Attempt to add entry 'HEXBAAAA' with unknown version number
(probably destroyed)
at vss2svn.pl line 706
Attempt to add entry 'IEXBAAAA' with unknown version number
(probably destroyed)
at vss2svn.pl line 706
Attempt to add entry 'YEXBAAAA' with unknown version number
(probably destroyed)
at vss2svn.pl line 706
Attempt to add entry 'ZEXBAAAA' with unknown version number
(probably destroyed)
...
... (19.139 lines like of the following)
at vss2svn.pl line 851
Parent path missing while trying to add item
'/orphaned/_PPHBAAAA/main7593_060710.asp' at revision 2347: adding
missing parents
at vss2svn.pl line 851
Parent path missing while trying to add item
'/orphaned/_ELSBAAAA/4567bg.jpg' at revision 2415: adding missing parents
at vss2svn.pl line 851
Parent path missing while trying to add item
'/orphaned/_XYNBAAAA/logo.gif' at revision 2415: adding missing parents
at vss2svn.pl line 851
Attempt to re-add directory '/' at revision 2499, skipping action:
possibly missing delete
at vss2svn.pl line 851
Could not open export file './_vss2svn/vssdata/TK/TKDCAAAA.1'
at vss2svn.pl line 851
=============================================================================
END OF CONVERSION
The VSS to SVN conversion is complete. You should now use the
"svnadmin load"
command to load the generated dumpfile
'after-analyze-fix\stageweb1-dumpfile.txt'. The "svnadmin"
utility is provided as part of the Subversion command-line toolset; use a
command such as the following:
svnadmin load <repodir> < "after-analyze-fix\stageweb1-dumpfile.txt"
You may need to precede this with "svnadmin create <repodir>" if you
have not
yet created a repository. Type "svnadmin help <cmd>" for more
information on
"create" and/or "load".
If any errors occurred during the conversion, they are summarized above.
For more information on the vss2svn project, see:
http://www.pumacode.org/projects/vss2svn/
Started at : Tue Mar 6 22:14:17 2007
Ended at : Tue Mar 6 22:50:44 2007
Elapsed time : 00:36:27 (H:M:S)
VSS Actions read : 34111
SVN Revisions converted : 3871
Date range (YYYY/MM/DD) : 2004/12/27 to 2007/03/06
------------------------------------------------------------------------
_______________________________________________
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
_______________________________________________
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