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

Automaticly commit all changes via batch files

From: Craig Ross <craig_at_ventexwebdesigns.com.au>
Date: 2007-10-18 04:58:09 CEST

Hi all,
sorry if this is not the place to ask this.

I have just implemented SVN (debian server) with TortoiseSVN frontend
(windows) for document management and drawing management for a constuction
company.
The system is working great the guys are very happy but the ladies in the
office find it a hassle to have to sync (they used to work live to the
server via samba)
I am trying to write a batch file that i can run each night to commit and
then update all changes.

I understand the risks of conficts but the same person "Never" uses the same
file (we used to use windows offline files and in 3 years i had one call
asking what a conflict was :P)
The following script has been implemented

-------------Start of batch Script-------------------
@echo off

echo Your changes are now being submitted to the server
c:\Progra~1\TortoiseSVN\bin\TortoiseProc.exe /command:commit
/path:"C:\Documents and Settings\deb\Desktop\Projects" /notempfile
/closeonend:2

echo You are now getting the latest copy of projects
c:\Progra~1\TortoiseSVN\bin\TortoiseProc.exe /command:update
/path:"C:\Documents and Settings\deb\Desktop\Projects" /notempfile
/closeonend:2

echo You have the latest copy of projects

-------------End of batch Script-------------------

I need to find a command line switch that will check the "Select all files
to commit" button and then click go
I am willing to let the commit fail or hang (until the secretary comes in
the next day) if a conflict arises

Any help would be great
Once again sorry if this is the wrong place to post this

-- 
Craig Ross
0407283367
Ventex Web Designs
http://www.ventexwebdesigns.com.au
Received on Thu Oct 18 05:37:55 2007

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

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