[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

/notempfile

From: Gavin Lambert <tsvn_at_mirality.co.nz>
Date: 2006-09-22 08:14:08 CEST

Since this is the first time I've had a look at Tortoise's command line
options, something has struck me as very strange (and extremely
dangerous, if I understand it correctly).

This paragraph in particular:
   "Since TortoiseSVN uses temporary files to pass multiple arguments
between the shell extension and the main program, you must add the
/notempfile parameter! If you don't, the command won't work and the file
you pass with the /path parameter will be deleted!"

This is especially concerning given that this particular parameter (and
what it does) doesn't appear to be documented anywhere else in the helpfile.

Why is this? Surely Tortoise shouldn't default to trashing files?

The only possible explanation I can come up with for this behaviour is
that in the absence of a /command then TortoiseProc will use the /path
as the name of the temporary file to mess with. If this is the case,
and given that this usage is not actually documented, then some other
parameter (eg. /temppath or /tempfile) should be used for that job,
leaving /path only for the (documented) command interface. Then it
shouldn't matter if you specify /notempfile or not.

(Mind you, if Tortoise can operate without a temp file in the first
place, why is it ever creating one? And why would you ever need to
specify its name?)

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Fri Sep 22 08:14:35 2006

This is an archived mail posted to the TortoiseSVN Users mailing list.