[svk-devel] [PATCH] fix Win32 edit_file problem

Cornelius cornelius.howl at gmail.com
Wed Sep 10 15:10:05 EDT 2008


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"
> <http://twitter.com/c9s/statuses/913940627>
>
> it seems that "system {$editor[0]} ( .. ) " can't work on windows.
> this patch should let it works.
> --
> Best Regards.
> Cornelius
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.bestpractical.com/pipermail/svk-devel/attachments/20080911/f865024a/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Util.pm.diff
Type: text/x-diff
Size: 1113 bytes
Desc: not available
Url : http://lists.bestpractical.com/pipermail/svk-devel/attachments/20080911/f865024a/attachment.diff 


More information about the svk-devel mailing list