Ticket #1605 (closed patch: fixed)
Set SVN properties for EOL or MIME type
| Reported by: | mwtoews | Owned by: | chodgson |
|---|---|---|---|
| Priority: | low | Milestone: | PostGIS 2.0.0 |
| Component: | management | Version: | trunk |
| Keywords: | Cc: |
Description
This is an extension to #1598, but modifies other details. Goes through the depth of trunk.
Here is a summary of the modifications:
Set text files to svn:eol-style native for:
- in general: *.txt, *.c, *.h, *.in, *.sql, *.java, *.xml
- other misc: *.ac, *.properties, *.m4, *.l, *.y, *_expected
- README*, Makefile*, and others without extensions
Set text files to svn:eol-style CRLF for:
- *.bat
Set image MIME types:
- *.png -> image/png
- *.gif -> image/gif
- *.tif -> image/tiff
- *.svg -> image/svg+xml
- *.ico -> image/vnd.microsoft.icon
- *.fig -> image/x-xfig
Set other binary files:
- *.jar -> application/java-archive
- *.shp, *.shp.expected -> application/octet-stream
- *.dbf -> application/dbf
- *.odt -> application/vnd.oasis.opendocument.text
- *.pdf -> application/pdf
Other changes:
- Corrected some odd "application/octed-stream" types to octet
- Removed svn:mime-type for *sh files (was application/x-sh), as these are not binary files
- Switched the 'yes' (or '*') switch for svn:executable (some were 'no' or ' ')
- Made several other *.py, *.sh, *.bat files "executable yes"
Although the patch only modifies SVN properties (no source changes), the subsequent svn up command from clients will want to re-download the affected files. Please read through patch.
Also, you can view all properties with svn proplist -R -v * > allproperties
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

