source: 2013/26/MikkoF/talletus.bat @ 4251

Revision 4173, 708 bytes checked in by juiitamm, 6 years ago (diff)
Line 
1@echo off
2
3net use N: /delete 2>NUL
4net use N: \\eppu.it.jyu.fi\mnt "" /u:""
5if errorlevel 1 (
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% (
13  echo ERROR: svn hukassa!
14  goto error
15)
16
17call %svn% update
18if errorlevel 1 goto error
19
20call %svn% add . --force --config-option config:miscellany:global-ignores="*.o *.lo *.la #*# .*.rej *.rej .*~ *~ .#* .DS_Store *.suo *.cachefile bin obj *.user TestResults *.ctbackup"
21if errorlevel 1 goto error
22
23call %svn% commit -m "Talletus."
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.