Revision 2174,
376 bytes
checked in by tekrjant, 8 years ago
(diff) |
Korjattu talletus koska ei oikeuksia eppu-levylle.
|
Line | |
---|
1 | @echo off |
---|
2 | |
---|
3 | call svn --version > NUL |
---|
4 | if errorlevel 1 ( |
---|
5 | echo ERROR: svn not found! |
---|
6 | goto error |
---|
7 | ) |
---|
8 | |
---|
9 | call svn update |
---|
10 | if errorlevel 1 goto error |
---|
11 | |
---|
12 | call svn add * --force |
---|
13 | if errorlevel 1 goto error |
---|
14 | |
---|
15 | call svn commit -m "Talletus." |
---|
16 | if errorlevel 1 goto error |
---|
17 | |
---|
18 | color 27 |
---|
19 | echo. |
---|
20 | echo VALMIS! |
---|
21 | echo. |
---|
22 | goto finish |
---|
23 | |
---|
24 | |
---|
25 | :error |
---|
26 | color 47 |
---|
27 | goto finish |
---|
28 | |
---|
29 | |
---|
30 | :finish |
---|
31 | pause |
---|
Note: See
TracBrowser
for help on using the repository browser.