From: David Z. <dz...@re...> - 2004-05-13 17:58:53
|
I recommend adding these two lines to the autoprops, both types are xml files. *.classpath = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Id *.project = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Id David Paul Ramsey wrote: > OK, we had a bit of a fubar right at the start of this process -- I > did not import the CVS archive with mime-type or eol-style > restrictions, and as a result, we have a lot of mis-typed files, and > the potential for eol collisions between platforms. > > Also, so far we have not been able to find a reference for how to > enforce mime and eol types on the server side, so when you do file > additions, it is important that your svn client have good default > configs. Below is a demonstration config file that does what we want > with mime and eol types. > > The SVN archive will be offline until I have re-imported it and moved > things around. Those of you who have done work relative to sandboxes > on the current SVN will have to checkout, diff, patch, and commit. > > Sorry about this! Paul > > >------------------------------------------------------------------------ > >[helpers] >editor-cmd = vi > >[miscellany] >enable-auto-props = yes >global-ignores = *.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* *.class > >[auto-props] >*.java = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id >*.sql = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id >*.c = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id >*.cpp = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id >*.h = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id >*.txt = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id >*.sgml = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id >*.properties = svn:mime-type=text/plain;svn:eol-style=native;svn:keywords=Id >*.xml = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Id >*.sld = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Id >*.gml = svn:mime-type=text/xml;svn:eol-style=native;svn:keywords=Id >*.xsl = svn:mime-type=text/xsl;svn:eol-style=native;svn:keywords=Id >*.html = svn:mime-type=text/html;svn:eol-style=native;svn:keywords=Id >*.css = svn:mime-type=text/css;svn:eol-style=native;svn:keywords=Id >*.dsp = svn:eol-style=CRLF >*.bat = svn:eol-style=CRLF >*.dsw = svn:eol-style=CRLF >*.sh = svn:eol-style=native;svn:executable;svn:keywords=Id >*.png = svn:mime-type=image/png >*.jpg = svn:mime-type=image/jpeg >*.gif = svn:mime-type=image/gif >*.tif = svn:mime-type=image/tiff >*.zip = svn:mime-type=application/zip >*.sxw = svn:mime-type=application/zip >*.sxc = svn:mime-type=application/zip >*.sxi = svn:mime-type=application/zip >*.utf = svn:mime-type=application/octet-stream >*.ttf = svn:mime-type=application/octet-stream >*.shp = svn:mime-type=application/octet-stream >*.shx = svn:mime-type=application/octet-stream >*.dbf = svn:mime-type=application/octet-stream >*.mif = svn:mime-type=application/octet-stream >*.mid = svn:mime-type=application/octet-stream >Makefile = svn:mime-type=text/plain;svn:eol-style=native >README = svn:mime-type=text/plain;svn:eol-style=native > > > |