Author: dreimer
Date: Tue Jun 19 00:18:34 2007
New Revision: 27227
URL: http://svn.reactos.org/svn/reactos?rev=27227&view=rev
Log:
Added ability to the SVN Client to show the recent online and offline Revision Number to compare. This takes ~10 seconds, so my plan to add it to main menu was canceled. But as "svn status" is has a nice place.
Modified:
trunk/tools/RosBE-Windows/Root/Help.cmd
trunk/tools/RosBE-Windows/Root/SVN.cmd
Modified: trunk/tools/RosBE-Windows/Root/Help.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/Help.cmd?…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/Help.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/Help.cmd Tue Jun 19 00:18:34 2007
@@ -26,7 +26,7 @@
echo help [COMMAND] - Display the available commands or help on a
echo specific command.
echo svn [OPTIONS] - Create, Update or clean up your ReactOS Source
- echo Tree.
+ echo Tree or show the Status.
echo config [OPTIONS]- Configures the way, ReactOS will be built.
echo.
echo basedir - Switch back to the ReactOS source directory.
@@ -64,10 +64,12 @@
echo Usage: svn [OPTIONS]
echo Creates, Updates or cleans up your ReactOS Source Tree.
echo.
- echo update - Updates to HEAD Revision or to a specific one when
- echo second parameter specifies one.
- echo create - Creates a new ReactOS Tree.
+ echo update - Updates to HEAD Revision or to a specific one when
+ echo second parameter specifies one.
+ echo create - Creates a new ReactOS Tree.
echo cleanup - Cleans up and fixes errors in Tree.
+ echo status - Shows Actual offline Revision Number and online HEAD
+ echo Revision Number.
goto :EOF
)
if "%1" == "config" (
Modified: trunk/tools/RosBE-Windows/Root/SVN.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/SVN.cmd?r…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/SVN.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/SVN.cmd Tue Jun 19 00:18:34 2007
@@ -36,6 +36,20 @@
goto :SVN
)
)
+if "%1" == "status" (
+ title Status
+ call "%ROSBEBASEDIR%\Tools\svn.exe" info %_ROSSOURCEDIR% > "%ROSBEBASEDIR%\x.tmp"
+ echo Recent Offline Revision:
+ call "%ROSBEBASEDIR%\Tools\grep.exe" Revision: %ROSBEBASEDIR%\x.tmp|"%ROSBEBASEDIR%\Tools\cut.exe" -d " " -f 2
+ del "%ROSBEBASEDIR%\x.tmp"
+
+ call "%ROSBEBASEDIR%\Tools\svn.exe" info svn://svn.reactos.org/reactos/trunk/reactos > "%ROSBEBASEDIR%\x.tmp"
+ echo Online HEAD Revision:
+ call "%ROSBEBASEDIR%\Tools\grep.exe" Revision: %ROSBEBASEDIR%\x.tmp|"%ROSBEBASEDIR%\Tools\cut.exe" -d " " -f 2
+ del "%ROSBEBASEDIR%\x.tmp"
+ goto :ExitSVN
+)
+
if not "%1" == "" (
echo Unknown parameter specified. Try 'help [COMMAND]'.
goto :ExitSVN
Author: cfinck
Date: Mon Jun 18 15:58:35 2007
New Revision: 27223
URL: http://svn.reactos.org/svn/reactos?rev=27223&view=rev
Log:
Fix bug #2312 and add a check to show only the relevant information for Windows/Unix users
See issue #2312 for more details.
Modified:
trunk/rosapps/makefile
Modified: trunk/rosapps/makefile
URL: http://svn.reactos.org/svn/reactos/trunk/rosapps/makefile?rev=27223&r1=2722…
==============================================================================
--- trunk/rosapps/makefile (original)
+++ trunk/rosapps/makefile Mon Jun 18 15:58:35 2007
@@ -3,11 +3,18 @@
@echo ---
@echo 1. copy the rosapps folder into the reactos\modules folder
@echo 2. link reactos/modules/rosapps to rosapps
- @echo UNIX
- @echo cd $${ROS_SRC_ROOT}/reactos/modules
- @echo ln -s $${ROS_SRC_ROOT}/rosapps rosapps
- @echo WINDOWS
- @echo cd %%ROS_SRC_ROOT%%\reactos\modules
- @echo junction rosapps %%ROS_SRC_ROOT%%\rosapps
+
+ifeq ($(shell uname),)
+# Information for Windows users
+
+ @echo cd %%_ROSSOURCEDIR%%\reactos\modules
+ @echo junction rosapps %%_ROSSOURCEDIR%%\rosapps
+else
+# Information for UNIX users
+
+ @echo " cd \$$_ROSSOURCEDIR/reactos/modules"
+ @echo " ln -s \$$_ROSSOURCEDIR/rosapps rosapps"
+endif
+
@echo ---
@echo Eventually you can run "make depends" in the \reactos directory to compile it.