0

我正在尝试按照http://dryice.name/blog/freebsd/svn-make-the-branches-directory-before-make-a-branch/的说明在我的 SVN 存储库的分支中创建一个新目录.

svn mkdir http://svn.example.com/repos/calc/branches \ -m "make the branches directory to hold all the branches"

但我得到了错误:

svn: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the --message (-m) or --file (-F) options
svn: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found

我看到了这个问题:将新版本提交到 svn 存储库时提交失败错误,我确实添加了-m带有消息的选项,但仍然收到上述错误。

该命令有什么问题,我该如何解决?

4

1 回答 1

1

事实证明,如果我颠倒顺序并-m先添加我的选项,它会起作用!

所以命令应该是:

svn -m "make the branches directory to hold all the branches" http://svn.example.com/repos/calc/branches
于 2012-10-11T16:14:41.280 回答