TortoiseSVN command line diff
The command I'm using is:
TortoiseProc /command:diff /path:myfile.txt
It will open up the diff TortoiseSVN window, but it will only compare the working copy with the HEAD copy. What I want is to compare the working copy with the latest开发者_JAVA技巧 version in the Repo that is different. Basically, the same as running the right-click->TortoiseSVN-> "Diff" if the HEAD is different from the working copy. Otherwise running the right-click->TortoiseSVN -> "Diff with Previous Version"
Create the registry DWORD value
HKCU\Software\TortoiseSVN\Debug
and set its value to 1.
After that, whenever you use any command, a dialog will pop up first showing you the exact command line parameters TortoiseProc.exe is started with.
Once you know the command you want to use, you can remove the registry entry again.
I haven't tested, but this should work according to docs
TortoiseProc /command:diff /startrev:WORKING /endrev:HEAD /path:myfile.txt
精彩评论