Re: Merge mode (Was Classifying files as binary or text)
From: Julian Foad <julianfoad_at_btopenworld.com>
Date: Wed, 18 Nov 2009 10:53:57 +0000
B. Smith-Mannschott wrote:
Ah, yes, it is illogical to design the system such that mergeability
I think there are two issues here.
(1) Subversion's MIME type recognition is severely deficient (lots of
(2) MIME type can never be a 100% indicator of line-based text, much
Here is a vision of a solution that doesn't treat MIME-type as "special"
(1) Use of line-wise merge shall be determined by a set of rules of the
* a specified property not existing, or existing and its value
* the file name matching a specified pattern
* a content scan determining whether the content is predominantly
The rules for combining the rules are (something straight-forward, to be
The rules can be written to match svn:mime-type and svn:merge-mode, thus
(2) Use of line-wise diff shall be determined by a set of rules of the
(3) Use of line-wise blame shall be determined by a set of rules of the
(4) Default rules should be supplied.
(5) The rules can be customised in the client's config. (Not that
(6) The other issue is whether to store the results of that
- Julian
------------------------------------------------------
|
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.