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

Re: Win32 editor helper

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-05-12 04:34:21 CEST

Simon McClenahan wrote:

>I'm editing my Subversion config file on Win32 and trying to get jEdit to work.
>
>[helpers]
>editor-cmd = "C:\Program Files\jEdit 4.2pre11\jedit.exe" -noserver -wait
>
>editor-cmd = C:\Progra~1\JEDIT4~1.2PR\jedit.exe -noserver -wait
>
>Anyone gotten editor-cmd to work where the executable contains spaces, needs to block the svn command (unlike notepad.exe) and requires command-line arguments, specifically for jEdit on Windows? Using one of the above my editor opens new files called "-noserver" and "-nowait" too.
>
>
You can't put editor arguments in the config file. Instead, you write a
wrapper batch file, e.g., containing:

    @"C:\Program Files\jEdit 4.2pre11\jedit.exe" -noserver -wait "%1"

and put the path to that file into the config file. There should be no
problem having spaces in the path.

-- Brane

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed May 12 04:36:19 2004

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

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