source: 2011/26/JoelH/talletus.bat @ 10335

Revision 2175, 550 bytes checked in by tekrjant, 8 years ago (diff)

talletus.bat kovakoodattu svn polku + verkkolevyn mappaus.

RevLine 
[2158]1@echo off
2
[2175]3net use N: /delete 2>NUL
4net use N: \\eppu.it.jyu.fi\mnt "" /u:""
[2174]5if errorlevel 1 (
[2175]6  echo ERROR: Verkkolevy \\eppu.it.jyu.fi\mnt hukassa
7  goto error
8)
9
10set svn=N:\bin\svn\svn.exe
11
12if not exist %svn% (
[2174]13  echo ERROR: svn not found!
14  goto error
15)
16
[2175]17call %svn% update
[2174]18if errorlevel 1 goto error
19
[2175]20call %svn% add * --force
[2174]21if errorlevel 1 goto error
22
[2175]23call %svn% commit -m "Talletus."
[2174]24if errorlevel 1 goto error
25
26color 27
27echo.
28echo VALMIS!
29echo.
30goto finish
31
32
33:error
34color 47
35goto finish
36
37
38:finish
39pause
Note: See TracBrowser for help on using the repository browser.