automatic commit with Tortoise SVN

443 views
Skip to first unread message

marvin joest

unread,
Nov 16, 2021, 2:38:43 AM11/16/21
to TortoiseSVN
Hello everybody,

I am currently starting to work on my master thesis and would like to use SVN to automatically save my work. I am currently using SVN for other files (with manual commit) and it is all working as it should.
In the manual I already found instructions on how to automate the commiting by executing a batch file with following code line

TortoiseProc.exe /command:commit /path:"mypath" /closeonend:3

but with this line of code there is only the commit dialogue opening.
I would like to have a automated routine which commits a few files (mainly a docx file) without a need to confirm it over the dialogue.

Is there a way of programming this in a batch file or is this not possible with Tortoise SVN?

Thanks for your help.

Regards Marvin

Niemann, Hartmut

unread,
Nov 16, 2021, 2:49:34 AM11/16/21
to TortoiseSVN

Hi!

 

There are command line tools included with the TSVN installer (you may or may not have installed them), and with those

this is really just a one-line batch

                svn commit . -m “automatic commit”

should do the job (not tested) without asking questions.

 

Hartmut

--
You received this message because you are subscribed to the Google Groups "TortoiseSVN" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tortoisesvn...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tortoisesvn/f8651a08-1479-43a3-9425-e98dbbe6ca62n%40googlegroups.com.

marvin joest

unread,
Nov 16, 2021, 4:14:21 AM11/16/21
to TortoiseSVN
Hi Hartmut,

thanks for your quick response!
Your solution works fine for me, thank you.

Regards,

Marvin
Reply all
Reply to author
Forward
0 new messages