Hi,

I've got past the CTRL-W problem with this patch:

ndex: ssphys/utils/tinyxml.cpp
===================================================================
--- ssphys/utils/tinyxml.cpp    (revision 263)
+++ ssphys/utils/tinyxml.cpp    (working copy)
@@ -96,7 +96,7 @@
            outString->append( entity[4].str, entity[4].strLength );
            ++i;
        }
-        else if ( c == 0x0d && ( (int)str.length() - 1 )
+        else if ( c == 0x0d && i < ( (int)str.length() - 1 )
                 && str[i+1] == 0x0a)
        {
            // insert \n
@@ -112,19 +112,8 @@
        }
        else if (iscntrl (c)) // ( c < 32)
        {
-            // Easy pass at non-alpha/numeric/symbol
-            // Below 32 is symbolic.
-            char buf[ 32 ];
- - #if defined(TIXML_SNPRINTF) - TIXML_SNPRINTF( buf, sizeof(buf), "&#x%02X;", (unsigned) ( c & 0xff ) );
-            #else
-                sprintf( buf, "&#x%02X;", (unsigned) ( c & 0xff ) );
- #endif -
-            //*ME:    warning C4267: convert 'size_t' to 'int'
-            //*ME:    Int-Cast to make compiler happy ...
-            outString->append( buf, (int)strlen( buf ) );
+            // not allowed in XML. Substitute with '_'
+            *outString += '_';
            ++i;
        }
        else


and the conversion now runs to completion but the resulting dumpfile cannot be loaded. It fails with this error message:

"svnadmin: Invalid change ordering: new node revision ID without delete"

I believe it was this transaction that caused the failure:

**** NEW SVN REVISION (22736): RVEAAAAA,975598590,sf,
PIN: XWZCAAAA, CGBDAAAA @ 975598592
_get_parent_path(CGBDAAAA)
  _get_parent_path(AFBDAAAA)
  _get_parent_path(XCBDAAAA)
  _get_parent_path(KJADAAAA)
  _get_parent_path(AAAAAAAA)


And these are the actions on the corresponding file:

datacache.PhysicalAction.tmp.txt:4777 RVEAAAAA 5 AGEEAAAA SHARE CMIO.SYS 2 1077268621 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:6618 RVEAAAAA 4 AIBDAAAA SHARE CMIO.SYS 2 974296128 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:6645 RVEAAAAA \N AIBDAAAA PIN CMIO.SYS 2 975598567 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:6646 RVEAAAAA 5 AIBDAAAA PIN CMIO.SYS 2 975598590 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:19930 RVEAAAAA \N AWODAAAA SHARE CMIO.SYS 2 1018634643 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:30126 RVEAAAAA 5 BKSEAAAA SHARE CMIO.SYS 2 1126801764 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:54684 RVEAAAAA 5 CQNEAAAA SHARE CMIO.SYS 2 1113844752 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:111126 RVEAAAAA 4 FOWBAAAA SHARE CMIO.SYS 2 956501675 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:111127 HOWBAAAA \N FOWBAAAA BRANCH CMIO.SYS 2 956501675 sf 0 RVEAAAAA 3 AAAABWOH 1 \N \N datacache.PhysicalAction.tmp.txt:116392 RVEAAAAA 5 FUWDAAAA SHARE CMIO.SYS 2 1034873976 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:124292 RVEAAAAA 5 GDGDAAAA SHARE CMIO.SYS 2 991407604 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:130360 RVEAAAAA 5 GLAFAAAA SHARE CMIO.SYS 2 1148288875 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:144019 RVEAAAAA 5 HDNDAAAA SHARE CMIO.SYS 2 1015518449 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:152355 HOWBAAAA 5 \N BRANCH CMIO.SYS 2 956501675 sf 1 RVEAAAAA 3 AAAABWOH 0 \N Branch datacache.PhysicalAction.tmp.txt:192830 RVEAAAAA \N JVEAAAAA ADD CMIO.SYS 2 842869516 sf 0 \N 1 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:248281 RVEAAAAA 5 MTLDAAAA SHARE CMIO.SYS 2 1013698062 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:253366 RVEAAAAA 5 NAVDAAAA SHARE CMIO.SYS 2 1032262820 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:346165 RVEAAAAA 1 \N ADD CMIO.SYS 2 842869516 sf 1 \N 1 AAAAAEVR 0 \N \N datacache.PhysicalAction.tmp.txt:346166 RVEAAAAA 2 \N COMMIT \N 2 861790383 sf 1 \N 5 AAAAAEVR 0 \N \N datacache.PhysicalAction.tmp.txt:346167 RVEAAAAA 3 \N COMMIT \N 2 862843766 sf 1 \N 5 AAAAAEVR 0 \N \N datacache.PhysicalAction.tmp.txt:346168 RVEAAAAA 4 \N COMMIT \N 2 924675866 sf 1 \N 5 AAAAAEVR 0 \N Recent datacache.PhysicalAction.tmp.txt:346169 RVEAAAAA 5 \N COMMIT \N 2 975563068 sf 1 \N 5 AAAAAEVR 0 \N Fix datacache.PhysicalAction.tmp.txt:377545 RVEAAAAA 5 TOJDAAAA SHARE CMIO.SYS 2 1006246702 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:407643 RVEAAAAA 4 VDJCAAAA SHARE CMIO.SYS 2 959343098 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:407644 XDJCAAAA \N VDJCAAAA BRANCH CMIO.SYS 2 959343099 sf 0 RVEAAAAA 3 AAAACJDX 1 \N \N datacache.PhysicalAction.tmp.txt:423903 RVEAAAAA 5 VXJDAAAA SHARE CMIO.SYS 2 1010608811 sf 0 \N 2 AAAAAEVR 1 \N \N datacache.PhysicalAction.tmp.txt:447158 XDJCAAAA 5 \N BRANCH CMIO.SYS 2 959343099 sf 1 RVEAAAAA 3 AAAACJDX 0 \N \N datacache.PhysicalAction.tmp.txt:469166 RVEAAAAA 5 YGHDAAAA SHARE CMIO.SYS 2 992356720 sf 0 \N 2 AAAAAEVR 1 \N \N

There were also lots of error during the conversion. This is a small digest:

WARNING: Unknown action 'RestoredProject'
ERROR -- Multiple chidl recs for parent MOVE rec '344837'
at g:\v2v\vss2svn.pl line 622
ERROR -- Attempt to add entry 'DAAAAAAA' with unknown version number (probably destroyed)
at g:\v2v\vss2svn.pl line 729
ERROR -- Attempt to share unknown item 'ILHAAAAA':
ERROR -- Attempt to commit unknown item 'JKOAAAAA':
ERROR -- No more active itempath to commit to 'LSQAAAAA':
LSQAAAAA,
at g:\v2v\vss2svn.pl line 729

Use of uninitialized value in hash element at Vss2Svn/Dumpfile.pm line 630.
ERROR -- Attempt to re-add directory '/' at revision 1, skipping action: possibly missing delete
at g:\v2v\vss2svn.pl line 874
ERROR -- Parent path missing while trying to add item '/orphaned/_XHAAAAAA/GSPP/' at revision 7: adding missing parents
at g:\v2v\vss2svn.pl line 874

Use of uninitialized value in concatenation (.) or string at Vss2Svn/ActionHandler.pm line 268.

ERROR -- Could not open export file './_vss2svn/vssdata/NN/NNRAAAAA.1'
at g:\v2v\vss2svn.pl line 874


Is there a chance to convert this or is this database hopelessly damaged?
_______________________________________________
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