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

RE: problem with dialog box uisng Tortoisesvn

From: Cooke, Mark <mark.cooke_at_siemens.com>
Date: Wed, 5 Sep 2012 10:54:44 +0100

> -----Original Message-----
> From: Carmit Shiran [mailto:carmit.shiran_at_gmail.com]
> Sent: 05 September 2012 10:15
> To: Cooke, Mark
> Cc: users_at_subversion.apache.org
> Subject: Re: problem with dialog box uisng Tortoisesvn
>
> On Wed, Sep 5, 2012 at 11:43 AM, Cooke, Mark
> <mark.cooke_at_siemens.com> wrote:
>
> > -----Original Message-----
> > From: Carmit Shiran [mailto:carmit.shiran_at_gmail.com]
> > Sent: 05 September 2012 09:25
> > To: users_at_subversion.apache.org
> > Subject: problem with dialog box uisng Tortoisesvn
> >
> > hello,
> > I downloaded Tortoisesvn to my computer.
> > I want the following command to be executed without opening
> > the dialog box at the end (I don't want the user to enter
> > any data):
> >
> > TortoiseProc.exe /command:commit
> > /path:"C:\Projects\Widget3_Dev" /closeonend:1
> >
> > The /closeonend:1 doesn't seem to work. I still get the
> > pop-up dialog.
> >
> > I also tried changing the settings and switched the:
> > General->Dialogs 1-> Autoclose to : Auto-close if no errors.
> >
> > But this also doesn't work.
> >
> > Can you help me out?
> > What am I not doing right?
> >
> > Thanks,
> > Carmit
>
>
> Why not just use the svn command line tools (they are
> an optional component when you install TortoiseSVN)? You
> could then call `svn commit`, see the on-line book help:-
>
> http://svnbook.red-bean.com/en/1.7/svn.tour.cycle.html#svn.tour.cycle.commit
>
> ~ mark c
>
> OK- I tired now:
>
> c:\Program files\TortoiseSVN\bin> $svn commit
>
> I got the following message:
> '$svn' is not recognized as an internal or external command,
> operable program or batch file.
>
> Where exaclty am I supposed to write this command. I dont'
> see in the book....
>
> In what path on the cmd line? Is this how to use it?
>
> Do I write $svn? or just svn (which also didn;t work for me)?
>
> Am I supposed to download anything else besides TortoiseSvn?
>
> (I downloaded it form http://tortoisesvn.net/downloads.html
> <http://tortoisesvn.net/downloads.html> , for 32-bit OS)
>
> I appreciate your help.

Have a look in `C:\Program Files\TortoiseSVN\bin`, do you have ~8 executables named e.g. `svn.exe`, `svnadmin.exe` ... `svnversion.exe`?

If not you probably need to re-run the TortoiseSVN installer and select the command line tools as they are an optional component. Note: it always helps to say which version you are using, I think older versions of Tortoise did not include the command line tools.

Once you have svn.exe installed and in your path, the command is just `svn` at a command line with options as specified in the excellent on-line book. For your example above, something like:

D:\> svn ci "C:\Projects\Widget3_Dev" -m "commit message text here"

The command `svn help` is also useful (in a command prompt).

~ mark c
Received on 2012-09-05 11:55:20 CEST

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.