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

Revision 2333, 765 bytes checked in by tekrjant, 8 years ago (diff)

Talletus.

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 not found!
14  goto error
15)
16
17call %svn% update
18if errorlevel 1 goto error
19
20call %svn% propset -R svn:ignore bin .
21call %svn% propset -R svn:ignore obj .
22call %svn% propset -R svn:ignore *.suo .
23call %svn% propset -R svn:ignore *.cachefile .
24call %svn% propset -R svn:ignore *.user .
25
26call %svn% add * --force
27if errorlevel 1 goto error
28
29call %svn% commit -m "Talletus."
30if errorlevel 1 goto error
31
32color 27
33echo.
34echo VALMIS!
35echo.
36goto finish
37
38
39:error
40color 47
41goto finish
42
43
44:finish
45pause
Note: See TracBrowser for help on using the repository browser.