[postgis-devel] [PostGIS] #1605: Set SVN properties for EOL or MIME type

PostGIS trac at osgeo.org
Mon Feb 27 13:43:41 PST 2012


#1605: Set SVN properties for EOL or MIME type
-------------------------+--------------------------------------------------
  Reporter:  mwtoews     |       Owner:  chodgson     
      Type:  patch       |      Status:  reopened     
  Priority:  low         |   Milestone:  PostGIS 2.0.0
 Component:  management  |     Version:  trunk        
Resolution:              |    Keywords:               
-------------------------+--------------------------------------------------
Changes (by mwtoews):

  * status:  closed => reopened
  * resolution:  fixed =>


Comment:

 My bad .. the property `svn:eol-type` does not exist, this should have
 been `eol-style`
 {{{
 svn propdel svn:eol-type * -R

 find . -iname \*.pl | xargs svn propset svn:eol-style native
 find . -iname \*.py | xargs svn propset svn:eol-style native
 find . -iname \*.sh | xargs svn propset svn:eol-style native
 find . -iname \*-sh | xargs svn propset svn:eol-style native
 find . -iname \*.xml | xargs svn propset svn:eol-style native
 find . -iname \*.c | xargs svn propset svn:eol-style native
 find . -iname \*.h | xargs svn propset svn:eol-style native
 find . -iname \*.in | xargs svn propset svn:eol-style native
 find . -iname \*.ac | xargs svn propset svn:eol-style native
 find . -iname \*.txt | xargs svn propset svn:eol-style native
 find . -iname \*.java | xargs svn propset svn:eol-style native
 find . -iname \*.sql | xargs svn propset svn:eol-style native
 find . -iname \*.wkt | xargs svn propset svn:eol-style native
 find . -iname \*.properties | xargs svn propset svn:eol-style native
 find . -iname \*.conf | xargs svn propset svn:eol-style native
 find . -iname \*.config | xargs svn propset svn:eol-style native
 find . -iname \*.prefs | xargs svn propset svn:eol-style native
 find . -iname \*.css | xargs svn propset svn:eol-style  native
 find . -iname \*.m4 | xargs svn propset svn:eol-style native
 find . -iname README\* | xargs svn propset svn:eol-style native
 find . -iname LICENSE\* | xargs svn propset svn:eol-style native
 find . -iname COPYING\* | xargs svn propset svn:eol-style native
 find . -iname CREDITS | xargs svn propset svn:eol-style native
 find . -iname NEWS | xargs svn propset svn:eol-style native
 find . -iname TODO\* | xargs svn propset svn:eol-style native
 find . -iname Makefile\* | xargs svn propset svn:eol-style e native

 find . -iname \*.bat | xargs svn propset svn:eol-style CRLF
 find . -iname \*_expected | xargs svn propset svn:eol-style LF

 propset svn:eol-style native HOWTO_RELEASE MIGRATION STYLE
 liblwgeom/lwin_wkt_lex.l liblwgeom/lwin_wkt_parse.y
 }}}
 (note: attached patch above not updated)

 Lastly, I'm trying to figure out why some of the properties from r9323
 have a new-line. This appears to have broken some `mime-type`s, e.g,
 compare rt_st_transform01.png:
 [http://trac.osgeo.org/postgis/browser/trunk/doc/html/images/rt_st_transform01.png?rev=9322
 before]
 [http://trac.osgeo.org/postgis/browser/trunk/doc/html/images/rt_st_transform01.png?rev=9323
 after]

 For this file, I should see:
 {{{
 $ svn proplist -v doc/html/images/rt_st_transform01.png
 Properties on 'doc/html/images/rt_st_transform01.png':
   svn:mime-type
     image/png
 }}}
 but in r9323 I see:
 {{{
 $ svn proplist -v doc/html/images/rt_st_transform01.png
 Properties on 'doc/html/images/rt_st_transform01.png':
   svn:mime-type
     image/png

 }}}
 (note extra new line)

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1605#comment:8>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.


More information about the postgis-devel mailing list