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

Re: Problem setting Notepad++ as log message editor for svn 1.9.7 (Windows7)

From: Bo Berglund <bo.berglund_at_gmail.com>
Date: Fri, 08 Jun 2018 23:48:39 +0200

On Fri, 8 Jun 2018 14:57:06 -0400, Mark Phippard <markphip_at_gmail.com>
wrote:

>On Fri, Jun 8, 2018 at 12:29 PM, Bo Berglund <bo.berglund_at_gmail.com> wrote:
>
>> I have configured Notepad++ to be the editor for the log message.
>> This works OK if Notepad++ is *not* running at the time of an svn
>> operation. Then Npp pops up an edit window and I can enter the message
>> as expected and then close the window.
>>
>> But when Npp is already running with one or several tabs with other
>> file edits, then Npp pops up with an edit tab inside the already
>> running window.
>> Now svn will not recognize my log message but instead pop up the
>> following on the command line:
>>
>> Log message unchanged or not specified
>> (a)bort, (c)ontinue, (e)dit:
>>
>> If I choose c then the commit proceeds but there is no log message...
>>
>> How can I use Notepad++ as the log editor and not have this happening?
>>
>>
>
>See:
>http://notes.richdougherty.com/2012/05/using-notepad-to-edit-subversion-commit.html
>
>You need to add the -multiInst option.
>
>The full set of options you should add actually seems to be: -multiInst
>-noPlugin -nosession -notabbar

Thanks,
I added the -multiInst option to make the config file line read:

editor-cmd = "C:\Programs\Notepad++\notepad++.exe -multiInst"

And now it seems to work at least for my use case even though I did
not throw in the other switches.

Thanks for your help!

-- 
Bo Berglund
Developer in Sweden
Received on 2018-06-08 23:49:13 CEST

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.