2009/3/18 Stefan Küng <tortoisesvn_at_gmail.com>:
> Markus Fischer wrote:
>> Stefan Küng wrote:
>>> Markus Fischer wrote:
>>>> when I choose a file, in my case a PHP file, it opens in notepad.
>>>> However I've set my system to open them in gVim by default. Is there a
>>>> way to tell TortoiseSVN to honor my system settings? I can choose "Open
>>>> with" and manually choose the application every time, but that feels a
>>>> bit cumbersome.
>>> The file is not 'opened' but 'edited'.
>>> That means the file is opened with the default application for the verb
>>> "edit", not the one for "open". That's because "open" means "run" for
>>> many scripts, and doing that for remote files is just too risky.
>> Ok ... I'm not sure what does that mean now for me?
>> Shouldn't the command be labeled "Edit" and "Edit with" then?
> That is up for discussion - I think that "Open" is what users expect and
> might get confused by "Edit". Maybe "Open in editor" would be best?
>> I checked (on my German WXP Pro system), right-click on a .php file
>> highlights "Bearbeiten" and it seems to be the so-called default action
>> because it's in bold.
>> However the "Öffnen" (open) command opens the file in Notepad. Exactly
>> what I get in the RepoBrowsers. When I choose "Öffnen mit" (open with)
>> and select gVim for default, the next time choosen "Öffnen" (open) it's
>> still Notepad again.
>> Seems confusing to me all in all; I'm not sure now: can this be fixed
>> and how can I fix it?
> Check the registry:
> HKCR\.php\(standard) shows the filetype ("phpfile" on my system)
> contains the commands for "Open" and "Edit". If there is no "Edit"
> subkey, then you can create one and copy the items from the "Open" keys.
> Also, TSVN uses the shell functions to open the file with the "edit"
> verb, but the shell function automatically falls back to the default
> verb (usually "open") if the "edit" verb is not set.
Can we display 'Edit' if the edit verb is present and 'Open' if not?
: oo // \\ "De Chelonian Mobile"
: (_,\/ \_/ \ TortoiseSVN
: \ \_/_\_/> The coolest Interface to (Sub)Version Control
: /_/ \_\ http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2009-03-18 18:13:06 CET