我正在 CentOS 6.2 上做一个项目,使用发行版提供的 Emacs 23.1.1 和使用 svnserver 的 subversion。
我无法在任何地方找到如何设置存储库访问密码。 [关于此还有另一个问题(SVN for Emacs:如何设置作者姓名和保存密码? https://stackoverflow.com/questions/726274/svn-for-emacs-how-do-you-set-author-name-and-save-password)但对于我的情况没有可用的答案。]
背景:
由于客户交货要求我需要添加尽可能少的额外安装- 尽可能使用 yum install,必要时查找非 yum RPM,并将手动安装作为最后的手段。
我正在使用 Syntevo 的 SmartSVN 发行版中的 subversion (SVN)(非发行版添加的一个示例)。它还要求我安装更新的 Java。
到目前为止我还没有安装任何其他东西。
这一切都正常,但如果能够直接从 Emacs 中的编辑会话进行提交,那就太好了。
发现的错误:
当我使用 Ctl-x v v 提交时,我得到提交消息缓冲区。
Ctl-c Ctl-c 失败并显示一条消息:
入住失败。
Messages shows
...
Press C-c C-c when you are done editing.
Enter a change comment. Type C-c C-c when done
Checking in /home/keywords2/www/html/kw2Show.php...
vc-svn-checkin: Check-in failed
...
vc shows
Authentication realm: <svn://localhost:3690> 47300edb-8fa2-460e-889a-ad1513dbfcdf
Password for 'keywords2': Authentication realm: <svn://localhost:3690> 47300edb-8fa2-460e-889a-ad1513dbfcdf
Username: svn: Commit failed (details follow):
svn: Can't read stdin: End of file found