SVN ignore problem in OS X Lion

淺唱寂寞╮ 提交于 2019-12-06 11:50:32

It seems that with Lion it is no more possible to open a file with TextEdit on the command line giving the file name as argument.

A workaround is to use open

export SVN_EDITOR='open -e -W -n '
  • -e tells to open with TextEdit (use -a if you want to specify a different application)
  • -W tells open to wait for TextEdit to quit. If not specified svn propedit will read the file before it's edited and return telling the no changes were done.
  • -n tells to open a new instance of TextEdit even if there is another one already open. On one hand it will avoid that you have to quit an open editor and on the other hand it was not working without the option :-)
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!