Hello again,

This is another one-line patch that "handles" VSS labels that
contain forward slashes. We had a few instances of labels that
went "What we deployed on 13/4/2001" and this resulted in
vss2svn creating "/labels/What we deployed on 13",
with a "4" subdirectory and then a "2001" subdirectory.

I tried (not very hard) to encode the slash in the SVN path
(/labels/What we deployed on 13%2F4%2F2001) but this did
not work as expected. So this patch simply replaces slashes
with underscores.

Hope this helps,
--Jonathan

Index: script/Vss2Svn/Dumpfile.pm
===================================================================
--- script/Vss2Svn/Dumpfile.pm  (revision 291)
+++ script/Vss2Svn/Dumpfile.pm  (working copy)
@@ -542,6 +542,7 @@
     }
 
     my $label = $data->{info};
+    $label =~ s!/!_!g;
 
     # It is possible that the label was deleted later, so we see here a
label
     # action, but no label was assigned. In this case, we only need to
track

_______________________________________________
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