在Mac OS X上尝试使用Subversion提交时出错 [英] Getting error trying to commit using Subversion on Mac OS X

查看:74
本文介绍了在Mac OS X上尝试使用Subversion提交时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

使用 Subversion 我尝试使用:

 svn ci dir/filename

我得到这个:

svn: system('emacs svn-commit.tmp') returned 256

这是什么意思?我该如何解决?

What does this mean? How can I to fix it?

推荐答案

当您尝试向Subversion提交内容时,它需要提交注释。除非您在命令行上传递提交评论(使用 -m消息),否则Subversion将自动启动您首选的编辑器。看来您的编辑器是emacs,但是启动它时出现问题。

When you try to commit something to Subversion, it needs a commit comment. Unless you pass a commit comment on the command line (using -m message), Subversion will automatically launch your preferred editor. It appears that your editor is emacs, but there is a problem launching it.

要么修复emacs,要么设置您的 EDITOR SVN_EDITOR 环境变量到实际起作用的其他编辑器。

Either fix emacs, or set your EDITOR or SVN_EDITOR environment variables to a different editor that actually works.

这篇关于在Mac OS X上尝试使用Subversion提交时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆