svn导入中“-m”选项的意义

时间:2014-01-31 15:24:52

标签: svn import

“-m”选项在svn import命令中指定了什么?例如: - “svn import project file:/// repository_name / project -m”First Import“”

2 个答案:

答案 0 :(得分:2)

svn help import的命令行输出:

  -m [--message] ARG       : specify log message ARG

要更好地了解日志消息,请参阅svn help log

答案 1 :(得分:1)

正如Chad建议的那样,--message选项用于指定提交日志消息。

除非您有an external editor,否则在尝试提交或导入时会收到错误,而不指定-m选项:

svn: E205007: 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: E205007: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no 'editor-cmd' run-time configuration option was found