手册

TortoiseUDiff 命令

统一 diff 查看器只有两个命令行选项

表 D.3. 可用选项列表

选项描述
:patchfile 统一 diff 文件的路径。
:p 激活管道模式。统一 diff 从控制台输入读取。


示例(应在一行输入)

TortoiseUDiff.exe /patchfile:"c:\diff.patch"
      

如果从另一个命令创建 diff,可以使用 TortoiseUDiff 直接显示该 diff

svn diff | TortoiseUDiff.exe /u
      

即使省略 /p 参数,此方法也适用

svn diff | TortoiseUDiff.exe
      

TortoiseSVN 主页