Reputation: 10351
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 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"
Upvotes: 8
Views: 6873
Reputation: 43575
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.
Upvotes: 7
Reputation: 21615
I haven't tested, but this should work according to docs
TortoiseProc /command:diff /startrev:WORKING /endrev:HEAD /path:myfile.txt
Upvotes: 3