Re: A little lost on mime types and cvs2svn

Michael Haggerty <[email protected]>
Newsgroups gmane.comp.version-control.subversion.cvs2svn.user
Message-ID <[email protected]>
Joseph Van Quakebeke wrote:
>     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

This is an auto-props file, not a mime.types file.  You need to activate
it using an AutoPropsPropertySetter or the --auto-props option, not
MimeMapper/--mime-types.

A mime.types file looks more like this:

text/plain                                      asc txt text pot
text/html                                       html htm shtml
application/x-httpd-php                         phtml pht php
text/x-c++src                                   c++ cpp cxx cc

Michael

------------------------------------------------------
http://cvs2svn.tigris.org/ds/viewMessage.do?dsForumId=1670&dsMessageId=2454346

To unsubscribe from this discussion, e-mail: [[email protected]].
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.