Bug 886005
| Summary: | svn: adding .xml files results in application/xml MIME type, preventing diffs | |||
|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Florian Weimer <fweimer> | |
| Component: | subversion | Assignee: | Joe Orton <jorton> | |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 17 | CC: | jorton, vanmeeuwen+fedora | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 886408 (view as bug list) | Environment: | ||
| Last Closed: | 2012-12-11 10:40:33 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | --- | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | --- | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 886408 | |||
|
Description
Florian Weimer
2012-12-11 09:52:02 UTC
You can bypass use of libmagic by setting autoprops in ~/.subversion/config. Is the default appropriate? That is a large question which cannot be addressed in RH bugzilla. An XML file may be UTF-16, for example, or it may not be usefully human-readable. The current behaviour is by intent and by design, anyway. (In reply to comment #1) > You can bypass use of libmagic by setting autoprops in ~/.subversion/config. > > Is the default appropriate? That is a large question which cannot be > addressed in RH bugzilla. An XML file may be UTF-16, for example, or it may > not be usefully human-readable. > > The current behaviour is by intent and by design, anyway. Note sure about that, the behavior emerges from the behavior of file and subversion. For example, on Debian, XML documents are treated as text and no svn:mime-type is set because file reports different MIME types there. Perhaps file could report text/xml for obvious text-like XML files (Docbook, XHTML, Ant build.xml files, Gconf configuration files etc.)? In fact, I've got a hard time finding an XML file on my system which actually deserves the application/xml MIME type. |