3

在我的公司中,我们使用 TortoiseSVN 以这种方式关闭自动合并(http://tortoisesvn.tigris.org/faq.html#noautomerge)。但是当我合并修订范围(功能分支)时,尽管我进行了设置,但 Tortoise 会自动合并。在更新期间自动合并正确地失败了,正如我所料。龟版,合并工具设置,差异工具设置在附件中。请帮我。谢谢

在此处输入图像描述 在此处输入图像描述 在此处输入图像描述

编辑:添加了 SVN 配置文件的 [helpers] 部分

### Section for configuring external helper applications.
[helpers]
### Set editor-cmd to the command used to invoke your text editor.
###   This will override the environment variables that Subversion
###   examines by default to find this information ($EDITOR, 
###   et al).
# editor-cmd = editor (vi, emacs, notepad, etc.)
### Set diff-cmd to the absolute path of your 'diff' program.
###   This will override the compile-time default, which is to use
###   Subversion's internal diff implementation.
# diff-cmd = diff_program (diff, gdiff, etc.)
diff-cmd = "C:\\SVNNoMerge.bat" 
diff3-cmd = "C:\\SVNNoMerge.bat"
### Diff-extensions are arguments passed to an external diff
### program or to Subversion's internal diff implementation.
### Set diff-extensions to override the default arguments ('-u').
# diff-extensions = -u -p
### Set diff3-cmd to the absolute path of your 'diff3' program.
###   This will override the compile-time default, which is to use
###   Subversion's internal diff3 implementation.
# diff3-cmd = diff3_program (diff3, gdiff3, etc.)
### Set diff3-has-program-arg to 'yes' if your 'diff3' program
###   accepts the '--diff-program' option.
# diff3-has-program-arg = [yes | no]
### Set merge-tool-cmd to the command used to invoke your external
### merging tool of choice. Subversion will pass 5 arguments to
### the specified command: base theirs mine merged wcfile
# merge-tool-cmd = merge_command
4

1 回答 1

1

您还必须为 设置 false.bat 文件diff3-cmd,而不仅仅是diff-cmd常见问题解答中所述的部分。

于 2013-03-19T15:29:39.750 回答