Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I want to edit svn's svn:ignore property:

svn propedit svn:ignore .

This doesn't work:

None of the environment variables SVN_EDITOR, VISUAL or EDITOR is set, and no 'editor-cmd' run-time configuration option was found

So I go and set my EDITOR variable to sublime_text (already in my path), restart Powershell, and repeat, but it immediately tells me that:

No changes to property 'svn:ignore' on '.'

That looks like the shell's expecting a synchronous response while the Sublime Text instance wasn't blocking, so I apply the --wait shorthand (-w) to the environment variable: sublime_text -w.

But then neither saving the file nor closing it return STDOUT to the shell — the shell just hangs and becomes completely unresponsive as soon as Sublime Text receives the STDIN: Ctrl + C, Esc, nothing works.

I wondered whether this might have to do with the fact that the STDIN is passed in to whatever instance of Sublime Text is already running, so I add the --new-window shorthand, (n) to the parameters, leaving me with sublime_text -wn. This doesn't change the behaviour.

share|improve this question
1  
Does this help?: stackoverflow.com/questions/1889013/… –  dangph Mar 5 at 3:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.