This commit is contained in:
rusefi 2017-02-20 19:04:57 -05:00
parent b626680e63
commit 2207504bf4
4 changed files with 62 additions and 6 deletions

42
misc/git2svn.bat Normal file
View File

@ -0,0 +1,42 @@
echo This script should be executed from the root of rusEfi master GITHUB local copy
pwd
echo Updating from SVN
call svn update
set RUSEFI_GIT_PATH=../rusefi.github/rusefi
ls -l %RUSEFI_GIT_PATH%
rd /s /q %RUSEFI_GIT_PATH%\firmware
rd /s /q %RUSEFI_GIT_PATH%\hardware
rd /s /q %RUSEFI_GIT_PATH%\java_console
rd /s /q %RUSEFI_GIT_PATH%\unit_tests
rd /s /q %RUSEFI_GIT_PATH%\win32_functional_tests
cp -r firmware %RUSEFI_GIT_PATH%
cp -r hardware %RUSEFI_GIT_PATH%
cp -r java_console %RUSEFI_GIT_PATH%
cp -r unit_tests %RUSEFI_GIT_PATH%
cp -r win32_functional_tests %RUSEFI_GIT_PATH%
rm -f %RUSEFI_GIT_PATH%/readme.*
rm -f %RUSEFI_GIT_PATH%/README.*
cp -r README.* %RUSEFI_GIT_PATH%
cp -r readme.* %RUSEFI_GIT_PATH%
echo Going to git copy location
cd %RUSEFI_GIT_PATH%
git config --global user.email "russianefi@gmail.com"
git config --global user.name "rusEfi"
git pull
git add *
git commit -a -m "auto-sync"
git push --repo https://rusefi:PASSWORD@github.com/rusefi/rusefi

11
misc/git2svn_init.bat Normal file
View File

@ -0,0 +1,11 @@
rd /s /q c:\stuff\rusefi.git2svn
mkdir -p c:\stuff\rusefi.git2svn\rusefi.svn
cd c:\stuff\rusefi.git2svn\rusefi.svn
svn co https://svn.code.sf.net/p/rusefi/code/trunk/ .
mkdir -p c:\stuff\rusefi.git2svn\rusefi.github
cd c:\stuff\rusefi.git2svn\rusefi.github
git clone https://github.com/rusefi/rusefi.git

View File

@ -1,9 +1,3 @@
rem mkdir -p c:\stuff\rusefi.svn2git\rusefi.svn
rem mkdir -p c:\stuff\rusefi.svn2git\rusefi.github
rem cd c:\stuff\rusefi.svn2git\rusefi.svn
rem svn co https://svn.code.sf.net/p/rusefi/code/trunk/ .
rem cd c:\stuff\rusefi.svn2git\rusefi.github
rem git clone https://github.com/rusefi/rusefi.git
echo This script should be executed from the root of rusEfi trunk SVN local copy

9
misc/svn2git_init.bat Normal file
View File

@ -0,0 +1,9 @@
rd /s /q c:\stuff\rusefi.svn2git
mkdir -p c:\stuff\rusefi.svn2git\rusefi.svn
cd c:\stuff\rusefi.svn2git\rusefi.svn
svn co https://svn.code.sf.net/p/rusefi/code/trunk/ .
mkdir -p c:\stuff\rusefi.svn2git\rusefi.github
cd c:\stuff\rusefi.svn2git\rusefi.github
git clone https://github.com/rusefi/rusefi.git