[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: Jim Sokoloff <jim_at_sokoloff.com>
Date: 2003-09-18 21:30:48 CEST

> Thanks for the tip. I have been there before, worked fine from the
> commandline - it may be a bug in Homesite or by design, but one
> cannot execute batch files from toolbar buttons. Only effect was
> that buttons were substituted by the Windoze icon for DOS apps
> ... It looks like I have to give up the toolbar. A pity, I know this
> works for CS-RCS. In fact a toolbar for CS-RCS was my model.

(Seems my earlier mail got eaten or is still queued somewhere.)

Just because you can't use a batch file directly,
doesn't mean you're out of luck. You may be able to
use cmd /c <batch.bat> to get it to run.

Alternately, you can do something like:

cmd /c svn --version > c:\temp\temp.txt && cmd /c c:\temp\temp.txt

I use the second cmd /c (instead of notepad.exe) because
this will launch the default action on .txt files
(which is notepad.exe by default, but could have
been over-ridden to be emacs, FooEdit, or whatever
the developer's preference is).

--Jim

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Sep 19 02:00:37 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.