Author: dreimer
Date: Sun Jul 29 23:46:46 2007
New Revision: 28021
URL:
http://svn.reactos.org/svn/reactos?rev=28021&view=rev
Log:
- Added svnversion Tool.
- Simplified sSVN.
- Fixed a strange behavior of CMD. ssvn status only worked right if started two
times,because only then the Variabls got the rev Numbers in them. Now it works.
Added:
trunk/tools/RosBE-Windows/Root/sSVNs.cmd
Modified:
trunk/tools/RosBE-Windows/Root/ChangeLog.txt
trunk/tools/RosBE-Windows/Root/sSVN.cmd
trunk/tools/RosBE-Windows/Tools/info.txt
Modified: trunk/tools/RosBE-Windows/Root/ChangeLog.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/ChangeLog…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/ChangeLog.txt (original)
+++ trunk/tools/RosBE-Windows/Root/ChangeLog.txt Sun Jul 29 23:46:46 2007
@@ -6,6 +6,7 @@
- Fixed the double \\ Bug introduced in 0.3.7. (Daniel Reimer)
- Added Build Begin Time into Topic. (Daniel Reimer)
+- Added svnversion. (Daniel Reimer)
*** July 26th, 2007 - RosBE 0.3.7.1 Released
Modified: trunk/tools/RosBE-Windows/Root/sSVN.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/sSVN.cmd?…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/sSVN.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/sSVN.cmd Sun Jul 29 23:46:46 2007
@@ -49,26 +49,10 @@
)
if "%1" == "status" (
title Status
- call svn info "%CD%" > "%ROSBEBASEDIR%\x.tmp"
- call grep Revision: "%ROSBEBASEDIR%\x.tmp"|cutz svn >
"%ROSBEBASEDIR%\offsvn.tmp"
- set /P OFFSVN=< "%ROSBEBASEDIR%\offsvn.tmp"
- call svn info
svn://svn.reactos.org/reactos/trunk/reactos >
"%ROSBEBASEDIR%\y.tmp"
- call grep Revision: "%ROSBEBASEDIR%\y.tmp"|cutz svn >
"%ROSBEBASEDIR%\onsvn.tmp"
+ for /f "usebackq" %%i IN (`svnversion .`) DO @set OFFSVN=%%i
+ svn info
svn://svn.reactos.org/reactos/trunk/reactos|find "Revision:"|cutz
svn > "%ROSBEBASEDIR%\onsvn.tmp"
set /P ONSVN=< "%ROSBEBASEDIR%\onsvn.tmp"
- echo Recent Offline Revision: %OFFSVN%
- echo Online HEAD Revision: %ONSVN%
- del "%ROSBEBASEDIR%\offsvn.tmp"
- del "%ROSBEBASEDIR%\onsvn.tmp"
- del "%ROSBEBASEDIR%\x.tmp"
- del "%ROSBEBASEDIR%\y.tmp"
- echo.
- if %OFFSVN% LSS %ONSVN% (
- echo Your Tree is not Up to date. Do you want to update it?
- goto :UP
- )
- if %OFFSVN% EQU %ONSVN% (
- echo Your Tree is Up to date.
- )
+ call "%ROSBEBASEDIR%\sSVNs.cmd"
goto :ExitSVN
)
@@ -77,11 +61,5 @@
goto :ExitSVN
)
-:UP
-SET /P XY=(yes), (no)
-
-if /I "%XY%"=="yes" call %ROSBEBASEDIR%\ssvn update
-if /I "%XY%"=="no" goto :ExitSVN
-
:ExitSVN
title ReactOS Build Environment %_VER%
Added: trunk/tools/RosBE-Windows/Root/sSVNs.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/sSVNs.cmd…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/sSVNs.cmd (added)
+++ trunk/tools/RosBE-Windows/Root/sSVNs.cmd Sun Jul 29 23:46:46 2007
@@ -1,0 +1,28 @@
+::
+:: PROJECT: RosBE - ReactOS Build Environment for Windows
+:: LICENSE: GPL - See COPYING in the top level directory
+:: FILE: Root/sv.cmd
+:: PURPOSE: Integrated SVN Client, status step 2.
+:: COPYRIGHT: Copyright 2007 Daniel Reimer <reimer.daniel(a)freenet.de>
+::
+::
+@echo off
+
+echo Recent Offline Revision: %OFFSVN%
+echo Online HEAD Revision: %ONSVN%
+del "%ROSBEBASEDIR%\onsvn.tmp"
+echo.
+if %OFFSVN% LSS %ONSVN% (
+ echo Your Tree is not Up to date. Do you want to update it?
+ goto :UP
+)
+if %OFFSVN% EQU %ONSVN% (
+echo Your Tree is Up to date.
+)
+goto :EOF
+
+:UP
+SET /P XY=(yes), (no)
+
+if /I "%XY%"=="yes" call %ROSBEBASEDIR%\ssvn update
+if /I "%XY%"=="no" goto :ExitSVN
Modified: trunk/tools/RosBE-Windows/Tools/info.txt
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Tools/info.txt…
==============================================================================
--- trunk/tools/RosBE-Windows/Tools/info.txt (original)
+++ trunk/tools/RosBE-Windows/Tools/info.txt Sun Jul 29 23:46:46 2007
@@ -1,10 +1,11 @@
Additional Tools needed:
-tee:
http://gnuwin32.sourceforge.net/packages/coreutils.htm
-test:
http://gnuwin32.sourceforge.net/packages/coreutils.htm
-cut:
http://gnuwin32.sourceforge.net/packages/coreutils.htm
-sed:
http://gnuwin32.sourceforge.net/packages/sed.htm
-grep:
http://gnuwin32.sourceforge.net/packages/grep.htm
-svn:
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
+tee:
http://gnuwin32.sourceforge.net/packages/coreutils.htm
+test:
http://gnuwin32.sourceforge.net/packages/coreutils.htm
+cut:
http://gnuwin32.sourceforge.net/packages/coreutils.htm
+sed:
http://gnuwin32.sourceforge.net/packages/sed.htm
+grep:
http://gnuwin32.sourceforge.net/packages/grep.htm
+svn:
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
+svnversion:
http://subversion.tigris.org/servlets/ProjectDocumentList?folderID=91
Additional Libs needed:
LibIntl:
http://gnuwin32.sourceforge.net/packages/libintl.htm