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

Re: Post-Update-Action

From: SteveKing <steveking_at_gmx.ch>
Date: 2003-09-20 18:08:55 CEST

Sorry for not anwersing sooner, but there were some
other things I had to take care of...

----- Original Message -----
From: "Jan Hendrik" <jan.hendrik@bigfoot.com>

> > example:
> > TortoiseProc.exe /command:log /path:"c:\myworkingcopy"
>
> For log the TSVN dialog comes up, with diff ExamDiff as defined in
> TSVN, status yields no result, it looks like it does not do anything.

Sure it does nothing. The TortoiseProc.exe does not show any
status - that's the work of the shell part (icon overlays). If you
want the "Changed Files" dialog then use the command "repostatus".

> More strange is add: the TSVN dialog comes up - but empty,
> without the current or any file in the list field. Clicking OK lets the
> also empty Finished! window follow - and the to-be-added file is
> deleted! Seems very strange indeed. Since currently being in

Sorry 'bout that - I should have warned you :) No seriously: I told
you to have a look at the source!
Most commands of TortoiseProc.exe use a temporary file
as the /path: parameter. This temp file contains a list of
files, separated by newlines. And after the operation this
tempfile is deleted - so if you pass a "normal" file or directory
then those are deleted!
You can easily find the commands which use a tempfile by
using TSVN: every command that's visible in the context menu
if you select more than one file uses a tempfile.

> commands work with the SVN client under the toolbar. Though it
> would be nicer to actually see the result of course.

Maybe it's best if you start a new project "addin for ExamDiff" -
because that's what you try to do here.

And please be carefull trying out the commands of TortoiseProc.exe.
It might even crash if you don't pass the correct params to it - or if
the tempfile has the wrong contents or is nonexistant. I haven't
put much time into that because until now only the shell part
calls it and I can control what the shell part passes to it.

Stefan

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Sep 20 18:10:26 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.