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

RE: Automating an export procedure

From: Gale, David <David.Gale_at_Hypertherm.com>
Date: 2006-05-05 18:09:17 CEST

dd dd wrote:
> Hi there,
>
> I'm trying to automate my svn update and export procedure so i can
> leave it running over night whilst i'm not at work. Therefore there
> can't be any user interaction.
>
> So far i have a batch file that is scheduled to run at midnight each
> day. The batch file contains this:
>
> TortoiseProc.exe /command:update /path:"C:\SVNwork\project\lib"
> /notempfile /closeonend:1
>
> I also want to export the updated repository to a different
> directory. So i plan on doing this:
>
> TortoiseProc.exe /command:export /path:"C:\exportdir" /notempfile
> /closeonend:1
>
> However, this doesn't seem to work for me. It throws up the usual
> TortoiseSVN export gui and asks me to input some stuff, which i can't
> do cause this process is automated.
>
> Anyone see what i'm doing wrong or knows how to fix this?
>
> Cheers
> B.

Well, I've never automated Tortoise, but the thing that jumps out at me
is that you're not telling it where to export from. The update command
works with just a path because the directory already knows which
repository it's a copy of; export, however, requires both the repository
path and the path to be exported to.

Naturally, I don't know what syntax you need, but I'll assume that you
can find it from here.

-David

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 5 18:10:47 2006

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

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