On Aug 10, 2007, at 8:23 AM, Andy Levy wrote:
> On 8/10/07, Cem Karan <ckaran@arl.army.mil> wrote:
>> I'm trying to write some documentation for how to use svn at work,
>> and have just realized that I don't understand one part of
>> subversion's algorithms; namely, how does svn decide which files can
>> be automatically merged, and which can't? E.g., if I'm working on a
>> text file, and someone else is as well, but in another part of the
>> file, svn will automatically merge the two without conflicts, but if
>> I've got a PDF in the repository that gets updated once in a while, a
>> conflict will be detected even if I and my coworker are editing
>> totally different parts of the PDF. I'm guessing that this is based
>> on the MIME type, but I want to be sure.
>
> Files that Subversion knows are plain-text (if you make good use of
> svn:mime-type you can provide a lot of help to Subversion in making
> this determination) it always attempts to merge. Binary files
> generally can't be merged, so they normally produce a conflict.
Do you know the exact file types it thinks of as plain text? I mean,
does it look at a file, determine that it is all 7-bit printable
ASCII, and from that guess that it is text, or is there a master list
of filename types that it looks at and guesses from that which are text?
Thanks,
Cem Karan
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Aug 10 14:46:41 2007