Author: dreimer
Date: Tue Jul 14 03:07:36 2009
New Revision: 41946
URL:
http://svn.reactos.org/svn/reactos?rev=41946&view=rev
Log:
Nice cleanup. noticed by bz00mmer
Modified:
trunk/tools/RosBE/RosBE-Windows/Powershell/sSVN.ps1
trunk/tools/RosBE/RosBE-Windows/Root/sSVN.cmd
Modified: trunk/tools/RosBE/RosBE-Windows/Powershell/sSVN.ps1
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Powershe…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Powershell/sSVN.ps1 [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Powershell/sSVN.ps1 [iso-8859-1] Tue Jul 14 03:07:36
2009
@@ -36,10 +36,8 @@
"Do you want to see the changelog?"
$CL = Read-Host "Please enter 'yes' or 'no': "
if (($CL -eq "yes") -or ($CL -eq "y")) {
- while ($OFFSVN -lt $ONSVN) {
- IEX "&'$_ROSBE_BASEDIR\Tools\svn.exe' log -r
$OFFSVN"
- $OFFSVN += 1
- }
+ $range = $OFFSVN + ":" + $ONSVN
+ IEX "&'$_ROSBE_BASEDIR\Tools\svn.exe' log -r $range"
}
}
if ($OFFSVN -eq $ONSVN) {
Modified: trunk/tools/RosBE/RosBE-Windows/Root/sSVN.cmd
URL:
http://svn.reactos.org/svn/reactos/trunk/tools/RosBE/RosBE-Windows/Root/sSV…
==============================================================================
--- trunk/tools/RosBE/RosBE-Windows/Root/sSVN.cmd [iso-8859-1] (original)
+++ trunk/tools/RosBE/RosBE-Windows/Root/sSVN.cmd [iso-8859-1] Tue Jul 14 03:07:36 2009
@@ -95,7 +95,7 @@
echo Do you want to see the changelog?
set /p CL="Please enter 'yes' or 'no': "
if /i "!CL!"=="yes" (
- call :WHILE
+ "%_ROSBE_BASEDIR%\Tools\svn.exe" log -r !OFFSVN!:!ONSVN!
)
)
if !OFFSVN! equ !ONSVN! (
@@ -104,14 +104,6 @@
goto EOC
-:WHILE
-
-if "!OFFSVN!" GTR "!ONSVN!" GOTO :OUT
-"%_ROSBE_BASEDIR%\Tools\svn.exe" log -r !OFFSVN!
-set /A OFFSVN+=1
-GOTO :WHILE
-:OUT
-
:EOC
title ReactOS Build Environment %_ROSBE_VERSION%
endlocal