Grrr. this doesn't work. I tried different methods, but the :crlf has no
influence. Perhaps I'm doing something stupidly wrong. Simply converting
in several chunks is also not possible, since we could split up in
between a CR and LF. I think the only solution is to run an external
utility. But which one? I only know of dos2unix, but this is not
installed on a windows system. I also tried to call
perl -p -e 's/\r\n/\n/g' /inputfile/ > /outputfile/
but interestingly this doesn't work either. Perhaps I'm doing something
really stupid here.
Dirk
So wouldn't something like:
if(!defined $text && defined $file) {
if ($node->get_prop('svn:mime-type') ==
'application/octet-stream');
open ($input, "<:crlf", $file)
} else {
open ($input, "<", $file);
binmode ($input);
}
copy($input, $fh);
print $fh "\n";
}
Dirk
_______________________________________________
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