Post a reply

Before posting, please read how to report bug or request support effectively.

Bug reports without an attached log file are usually useless.

Options
Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)

Options

Topic review

Guest

Thank you
martin

https://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-automation.html :
:diff - Starts the external diff program specified in the TortoiseSVN settings. The /path specifies the first file. If the option /path2 is set, then the diff program is started with those two files. If /path2 is omitted, then the diff is done between the file in /path and its BASE. To explicitly set the revision numbers use /startrev:xxx and /endrev:xxx. If /blame is set and /path2 is not set, then the diff is done by first blaming the files with the given revisions.


That's the problem. TortoiseProc just starts an external diff program and exits. WinSCP detects the exit and deletes the temporary copy of the remote file. You should start the diff application directly from the custom command instead.
Guest

Hi,

I added new command for file compasion

"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:diff /path:"!" /path2:"!^!" /closeonend:0

I want use svn for compation files.

Then I call this command the copy of remote file ("!^!") don't save.
I think this file are copied and removed immediately.
How I can suspend this removal.
martin

Re: Use TortoiseProc.exe for compare files

So what does happen instead?
TortoiseProc

Use TortoiseProc.exe for compare files

I add custom command for compare files

"C:\Program Files\TortoiseSVN\bin\TortoiseProc.exe" /command:diff /path:"!" /path2:"!^!" /closeonend:0

But remote file don't copy for this command. Why ?