Author: dreimer
Date: Thu Jul 5 12:29:19 2007
New Revision: 27400
URL: http://svn.reactos.org/svn/reactos?rev=27400&view=rev
Log:
Fix the create command of svn. thx to kevintrooper for testing. (Yes, THIS kevintrooper :-P)
Revert this if to create the Source-Dir. Is will not work.
Modified:
trunk/tools/RosBE-Windows/Root/RosBE.cmd
trunk/tools/RosBE-Windows/Root/SVN.cmd
Modified: trunk/tools/RosBE-Windows/Root/RosBE.cmd
URL: http://svn.reactos.org/svn/reactos/trunk/tools/RosBE-Windows/Root/RosBE.cmd…
==============================================================================
--- trunk/tools/RosBE-Windows/Root/RosBE.cmd (original)
+++ trunk/tools/RosBE-Windows/Root/RosBE.cmd Thu Jul 5 12:29:19 2007
@@ -30,9 +30,6 @@
:: Save our initial directory (should be the ReactOS source directory)
::
set _ROSSOURCEDIR=%CD%
-if not exist "%_ROSSOURCEDIR%\." (
- mkdir %_ROSSOURCEDIR%
-)
::
:: Check if our log directory exists, if it doesn't, create it.
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 Thu Jul 5 12:29:19 2007
@@ -39,13 +39,8 @@
echo Folder already cotains a Reposority. Exiting
goto :ExitSVN
)
- if exist "%_ROSSOURCEDIR%\*" (
- echo Folder is not empty. Continuing is dangerous and can cause errors.
- echo Press Strg+C to abort.
- pause
- goto :SVN
- )
- goto :SVN
+ dir /b | find /v "0471391E-C911-11D9-8BDE-F66BFD1E3F3A" >nul && (echo Folder is not empty. Continuing is dangerous and can cause errors. ABORTED) || (%ROSBEBASEDIR%\Tools\svn.exe checkout svn://svn.reactos.org/reactos/trunk/reactos %_ROSSOURCEDIR%)
+ goto :ExitSVN
)
if "%1" == "status" (
title Status