打开文件

当不使用任何命令行参数启动 TortoiseMerge 时,你必须使用文件打开来手工打开文件。

图 3.6. 打开文件对话框

打开文件对话框

The first thing you have to do is to decide whether you just want to compare/merge files, or whether you want to apply a patch file. Depending on what you choose, the corresponding edit boxes and browse buttons are activated.

查看/合并

If you want to compare / merge files you have to set at least two of the three possible paths for Base, Mine and Theirs. If you select only two files, then TortoiseMerge will show you the differences between those two files, either in a two pane view or in a one pane view.

If you want to merge three files, TortoiseMerge will show you the differences in a three pane view. This view is generally used if you need to resolve conflicted files. The output file is not named in this case and you will have to use the FileSave As.... to save the results.

应用补丁

If you want to apply a patch file you have to set both the path to the patch file itself and the path to the folder where the patch file should be applied.

小心

Currently, only patch files in Unified Diff Format are supported. And only files which were generated from a Subversion working copy. Other formats like patch files generated by CVS are currently not supported!