[MERGE] Changed diff filename from *.diff to *_diff.txt to make it easier to open on Windows.

Mark Hammond skippy.hammond at gmail.com
Tue Feb 24 22:22:18 GMT 2009


On 25/02/2009 1:21 AM, Alexander Belchenko wrote:
> Mark Hammond пишет:
>> On 24/02/2009 2:36 AM, Alexander Belchenko wrote:
>>> Jelmer Vernooij пишет:
>>>> John Yates wrote:
>>>>> On Sunday, February 22, 2009 at 8:11 PM Gary van der Merwe wrote:
>>>>>
>>>>>> Doug - A better solution would be to configure your Widows machines
>>>>>> to open .patch files in the editor/viewer of your choice. This can
>>>>>> be done by opening a Windows Explorer window, goto Tools, Options,
>>>>>> File Types, and then adding a item for .patch.
>>>>> Could the Windows installer check for the existence of .diff and/or
>>>>> .patch entries? What would be the proper behavior if both are missing?
>>>
>>>> FWIW, the Windows installer should be able to register new handlers for
>>>> ..diff and .patch. for bzr-gtk, we register a.diff viewer that is
>>>> capable
>>>> of understanding bundles; perhaps something similar could be done for
>>>> qbzr on Windows?
>>>
>>> Maybe. Where we should look to see how bzr-gtk doing this?
>>
>> I can help with getting the extension registered. For tortoise it
>> would mean a command-line we can execute to handle any extensions we
>> choose to register. .bundle is fairly obvious, but .patch is less so -
>> eg, tsvn registers a stand-alone .patch viewer; so that means we need
>> the installer to ask what extensions we support via checkboxes etc.
>>
>> I know qbzr has had some lovin' in this area recently which I'm not
>> familiar with; what would be an appropriate command to execute to view
>> ..bundle/.patch/.diff/.etc files?
>
> I'm not sure what do you mean by "qbzr has had some lovin' in this area",
> because actually Gary van der Merwe recently implemented support for
> pluggable diff programs, not for diff viewers. So to run diff/ect viewer
> we have to use usual approach.

What *is* the usual approach for qbzr?  If we don't have a .diff viewer, 
then there doesn't seem to be anything useful we can to the 
.diff/.patch/.bundle extensions at install time?

Mark



More information about the bazaar mailing list