This commit is contained in:
parent
b626680e63
commit
2207504bf4
|
@ -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
|
|
@ -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
|
|
@ -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
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue