[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: "Prefer local" not working with binary files in 1.9.x

From: Stefan Hett <stefan_at_egosoft.com>
Date: Tue, 26 Jul 2016 18:07:48 +0200

On 12/28/2015 10:35 AM, Stefan Hett wrote:
> On 12/24/2015 8:54 AM, Stefan Küng wrote:
>> On 16.12.2015 12:41, Stefan Hett wrote:
>>> Hi,
>>>
>>> Steps to reproduce:
>>> 1. create two branches with a binary file which differs in both branches
>>> 2. merge the one branch into the other
>>> 3. On the Resolve conflict dialog select"Prefer local" to indicate that
>>> the current version of the file in the WC is to be kept:
>>>
>>>
>>> Expected behavior:
>>> Current file is kept and conflict is resolved.
>>>
>>> Actual result:
>>> Error: "Conflict on '[...]\default.bgp' could not be resolved because
>>> the chosen version of the file is not available.
>>>
>>> I believe this was working fine in the 1.8.x TSVN versions, but didn't
>>> double check (so might be wrong here).
>>> Also there was a possibly related change done to the SVN command line
>>> client in 1.9.3 as far as I recall removing the mf option from the
>>> binary conflict resolution option.
>>> (That's why I didn't report the issue here before, because I originally
>>> was assuming a possible SVN API fix to resolve the svn client issue -
>>> obviously the argument was that the API side was fine and just the
>>> client's usage was to be updated which was done in 1.9.3).
>>> If I'm not mistaken here, maybe there needs to be a corresponding change
>>> to the corresponding API call from TSVN to SVN?
>> What's the svn:mime-type property of that file? If it has the word
>> "text" in it, then TSVN treats it not as a binary file when trying to
>> resolve the conflict.
> The svn:mime-type is set to application/octet-stream.
To conclude this thread since I finally got back to investigate this in
code:
Seems to be an issue in SVN >= 1.9.

Follow up threads: "code location related to investigate potential issue
in resolve dialog"
SVN developer list: "[PATCH] Fix a conflict resolut"

-- 
Regards,
Stefan Hett
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3180271
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2016-07-26 18:08:07 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.