RE: [RFC] Configurable default "force" mode for 'svn diff' (was: External diff based on mime-type)

2013-04-19 Thread Watson, Paul
>>>You know, in light of the fact you can use the runtime configuration to >>>establish the constant use of an external diff tool, it seems that it would >>>be beneficial to have another configuration knob that means "My external >>>diff tool can handle binary files, too, so please assume --forc

[RFC] Configurable default "force" mode for 'svn diff' (was: External diff based on mime-type)

2013-04-19 Thread C. Michael Pilato
>> I found that this can be done with the svn command line tools. However, >> --force must be used. Without --force, svn will see that the file has >> svn:mime-type prop set to application/octet-stream and refuse to do >> anything to a binary file. > > I nearly suggested this earlier, but my testi

Re: External diff based on mime-type

2013-04-19 Thread C. Michael Pilato
>> I found that this can be done with the svn command line tools. However, >> --force must be used. Without --force, svn will see that the file has >> svn:mime-type prop set to application/octet-stream and refuse to do >> anything to a binary file. > > I nearly suggested this earlier, but my testi

Re: External diff based on mime-type

2013-04-19 Thread C. Michael Pilato
On 04/19/2013 10:20 AM, Watson, Paul wrote: > From: C. Michael Pilato [mailto:cmpil...@collab.net] >> The Subversion command-line utility can't do this. But if you're a >> Windows user, you might be able to take advantage of TortoiseSVN's >> support for mapping MIME types to differencing tools. S

Re: External diff based on mime-type

2013-04-19 Thread Philip Martin
e-app. >> >> Is it possible for svn to invoke an external diff based on mime-type? > > The Subversion command-line utility can't do this. It can't do it directly but it can invoke a script and the script can do anything. Parse the label to get the working copy path, r

RE: External diff based on mime-type

2013-04-19 Thread Watson, Paul
From: C. Michael Pilato [mailto:cmpil...@collab.net] > The Subversion command-line utility can't do this. But if you're a Windows > user, you might be able to take advantage of TortoiseSVN's support for > mapping MIME types to differencing tools. See the > following for details: I found that

Re: External diff based on mime-type

2013-04-19 Thread C. Michael Pilato
On 04/18/2013 09:59 PM, Watson, Paul wrote: > We have a diff utility designed for a proprietary file format. I would > like for this "theappdiff" utility to be used if the file's svn:mine-type > prop is application/the-app. > > Is it possible for svn to invoke an ex

Re: External diff based on mime-type

2013-04-19 Thread Gabriela Gibson
On 4/19/13, Watson, Paul wrote: > We have a diff utility designed for a proprietary file format. I would like > for this "theappdiff" utility to be used if the file's svn:mine-type prop is > application/the-app. Hi Paul, as far as I know, this feature is currently not available, but the external

External diff based on mime-type

2013-04-18 Thread Watson, Paul
We have a diff utility designed for a proprietary file format. I would like for this "theappdiff" utility to be used if the file's svn:mine-type prop is application/the-app. Is it possible for svn to invoke an external diff bas