A little lost on mime types and cvs2svn
Joseph Van Quakebeke <[email protected]>
| Newsgroups | gmane.comp.version-control.subversion.cvs2svn.user |
|---|---|
| Message-ID | <ED167544733F634F8044F034D5D4D277010FEBC6@APSW1333EVS.ms.ds.uhc.com> |
All;
I am having some trouble getting the EOL issues within my
conversions to be correct. I have a CVSNT repo. I understand CVSNT is
not supported. My question is how to write the mime.types file. Here
is have I have:
[auto-props]
*.txt = svn:mime-type=text/plain;svn:eol-style=native
*.php = svn:mime-type=text/plain;svn:eol-style=native
*.pl = svn:mime-type=text/plain;svn:eol-style=native
*.java = svn:mime-type=text/plain;svn:eol-style=native
*.sql = svn:mime-type=text/plain;svn:eol-style=native
*.pm = svn:mime-type=text/plain;svn:eol-style=native
*.spec = svn:mime-type=text/plain;svn:eol-style=native
*.sh = svn:mime-type=text/plain;svn:eol-style=native
*.conf = svn:mime-type=text/plain;svn:eol-style=native
*.html = svn:mime-type=text/plain;svn:eol-style=native
*.js = svn:mime-type=text/plain;svn:eol-style=native
*.wsdl = svn:mime-type=text/plain;svn:eol-style=native
*.inc = svn:mime-type=text/plain;svn:eol-style=native
*.cpp = svn:mime-type=text/plain;svn:eol-style=native
*.c = svn:mime-type=text/plain;svn:eol-style=native
*.hpp = svn:mime-type=text/plain;svn:eol-style=native
*.h = svn:mime-type=text/plain;svn:eol-style=native
Now when I run cvs2svn with the options file and I uncomment the line to
use the above mime file, I get the following errors:
WARNING: ambiguous MIME mapping for *.= (*.inc or *.cpp)
WARNING: ambiguous MIME mapping for
*.svn:mime-type=text/plain;svn:eol-style=native (*.inc or *.cpp)
WARNING: ambiguous MIME mapping for *.= (*.cpp or *.c)
WARNING: ambiguous MIME mapping for
*.svn:mime-type=text/plain;svn:eol-style=native (*.cpp or *.c)
WARNING: ambiguous MIME mapping for *.= (*.c or *.hpp)
WARNING: ambiguous MIME mapping for
*.svn:mime-type=text/plain;svn:eol-style=native (*.c or *.hpp)
WARNING: ambiguous MIME mapping for *.= (*.hpp or *.h)
WARNING: ambiguous MIME mapping for
*.svn:mime-type=text/plain;svn:eol-style=native (*.hpp or *.h)
Those errors apply to every line of my mime type file.
So what did I do wrong. I followed the example in the documentation and
I am using version 2.3.0 in a cygwin shell. I also ran dos2unix on the
file to make sure it was not in dos format.
Thanks
Joe
This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity
to which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified
that any dissemination, distribution or copying of this e-mail is
prohibited. If you have received this e-mail in error, please notify the
sender by replying to this message and delete this e-mail immediately.
------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2452745
To unsubscribe from this discussion, e-mail: [[email protected]].