Thank you for the awesome tool, vss2svn! It has come a long way since the last
time I tried to convert VSS about a year ago.

My current problem is that after conversion I tried to reorganize the project
but I noticed that all files were modified in their entirety, which "breaks"
annotate support. At first I thought that svn's mv command was not working
well, but I realized after looking at the internal ".svn/text-base" files and
the dumpfile that the files were in CRLF format. What was happening is that
after applying autoprops (eol-style native and keywords to expand), all lines
were modified. It seems that with the dumpfile generated from vss2svn, the
CRLFs are in there so there is no interpretation from SVN's `svnadmin load`,
but the first time you touch/commit the file in any way it applies the rules
and changes all lines.

I noticed in the dumpfile that it appears that whenever the file is added the
CRs are removed, but on change actions the CRs are in the file. I don't think
I can just remove all CRs from the file because of the content-length headers
and because of binary content. I tried to look at the source, but I don't know
Perl so I couldn't figure out if there is some conversion function being
applied in adds but not changes. Maybe the data comes right from the ssphys?

I am running vss2svn from SVN on a Ubuntu GNU/Linux system where I have
compiled the Perl and ssphys code. I don't know if this affects the CRLF 
problems.

I used revision r317 from a few days ago. I haven't rerun since leudi's
changes up to r321. (BTW vss2svn runs many times faster on Linux server than
Windows desktop, and orders of magnitude on tmpfs -- by which I mean I take 3
minutes instead of 4 hours to convert, so if anyone reads this it's worth
compiling on Linux!)

OK, so there are 3 routes I see here:
 * Is there some way to modify the dumpfile to remove CRs safely?
 * Can I get help with vss2svn source to filter out CRs on text files?
 * Is there some magic I can do with the autoprops to get SVN to not think
the entire repository changed when I move the root?

Thanks,
Jason Winnebeck

_______________________________________________
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