1

Closed

Support older versions of TortoiseSVN /notempfile switch

description

In older version of TortoiseProc.exe a temp file was used when supplying multiple paths to commands like update or commit. This could be switched off with the command line switch /notempfile.
 
Versions of TortoiseSVN after 1.5 no longer required this switch, sadly we are stuck using version 1.4.5 so we cannot use VsTortoise to update or commit files. Log still works however.
 
Can this be fixed?
 
Thanks.

file attachments

Closed by

comments

pschraut wrote Oct 7, 2010 at 7:13 AM

Hi, since VsTortoise build 28 beta, the add-in uses for almost all commands the /pathfile option, instead of providing paths seperated by * thru the /path option. This change was necessary, because the length of the resulting /path:"file*file..." commandline sometimes exeeded the supported command line length of Windows.

I just installed TortoiseSVN 1.4.7 and will have a look at the problem today. I'm not sure if adding /notempfile will solve the problem, because as I understand the docs, this option is only necessary when using * seperated paths. On the other hand, I'm not sure since when the /pathfile option is supported, maybe it's not even supported in versions lower than 1.5.0. BTW, /pathfile seems to be documented in the german docs only.

pschraut wrote Oct 8, 2010 at 8:44 AM

OK, I think figured out how this works in older versions. Found very little docs about it, basically only feature proposals on TSVN mailinglists where the /pathfile feature has been discussed.

Using a pathfile in older versions than 1.5:
tortoiseproc /command:commit /path:"c:\filelist.tmp" /tempfile

Using a pathfile in newer versions than 1.5:
tortoiseproc /command:commit /pathfile:"c:\filelist.tmp"


Not using a pathfile in older versions than 1.5:
tortoiseproc /command:commit /path:"c:\main.cppc:\main.h" /notempfile

Not using a pathfile in newer versions than 1.5:
tortoiseproc /command:commit /path:"c:\main.cpp
c:\main.h"


I think it should work, when VsTortoise automatically selects the correct commandline options depending on the TortoiseProc.exe file version information. I'll implement that and send you a download link to the updated add-in.

psifive wrote Oct 8, 2010 at 10:09 AM

Thanks for turning it around so quickly. As soon as you have the link I'll test it and let you know how I get on.

pschraut wrote Oct 10, 2010 at 5:11 PM

I sent you the download-link via private message. Please let me know if it works for you.

psifive wrote Oct 11, 2010 at 10:37 AM

This works perfectly, thank you. I'm going to share this with my team if that's okay.

pschraut wrote Oct 11, 2010 at 10:43 AM

Glad it works :) Sure, feel free to share with your team.

pschraut wrote Oct 11, 2010 at 10:44 AM

Fixed in Rev 50889. Will be included in the next release, Build 29.