Cornelius | 10 Sep 2008 21:10
Picon
Gravatar

Re: [PATCH] fix Win32 edit_file problem

updated, use can_run( ) to get full path of binary.
you can just "set SVN_EDITOR=vim" or "set SVN_EDITOR=notepad" to launch your editor on Linux or Windows.

Best Regards.
Cornelius


On Wed, Sep 10, 2008 at 12:13 AM, Cornelius <cornelius.howl <at> gmail.com> wrote:
i set SVN_EDITOR as vim , svk should launch my vim to edit log message when i commit , but I encountered this problem:

"Can't Spawn cmd.exe: no such file or directory"


it seems that "system {$editor[0]} ( .. ) " can't work on windows.
this patch should let it works.
--
Best Regards.
Cornelius

Attachment (Util.pm.diff): text/x-diff, 1114 bytes
_______________________________________________
svk-devel mailing list
svk-devel <at> bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/svk-devel

Gmane