CVS zu Mercurial Umwandlung mit CRLF
-
03-10-2019 - |
Frage
Ich habe eine CVS-Repository zu Mercurial umgewandelt, aber der Wagenrücklauf aus CRLF (Windows-Stil) zu LF (Unix Stil) umgewandelt. Allerdings möchte ich CRLFs im Repository! Ich weiß, dass Sie href="https://stackoverflow.com/questions/2754281/cvs-to-mercurial-conversion-end-of-line-problem"> bekämpfen dieses Problem mit Mercurial Erweiterungen win32text
Ich würde gerne hören, wenn jemand in diesem Bestreben ist es gelungen!
Lösung
Hrm, I've not heard people say it does that before, but I've never tried to put CRLF in a repo before either. I'd guess it's not the mercurial convert doing the line ending change so much as it's the cvs export tool that it chains off to. I
Try using cvs2svn or cvs2git as an intermediary step as recommended here: https://www.mercurial-scm.org/wiki/RepositoryConversion#CVS