Merge pull request #11 from Cyberboss/FixOriginLogs

Makes copyfromgit.bat copy the remote master logs
This commit is contained in:
Kyle Spier-Swenson
2017-06-02 11:25:30 -07:00
committed by GitHub
+2 -1
View File
@@ -9,8 +9,9 @@ del /S /F /Q gamecode\%AB%\ >nul 2>nul
echo Copying files
xcopy gitrepo gamecode\%AB% /Y /X /K /R /H /I /C /V /E /Q /EXCLUDE:copyexclude.txt >nul
mkdir gamecode\%AB%\.git\logs
mkdir gamecode\%AB%\.git\logs\refs\remotes\origin
copy gitrepo\.git\logs\HEAD gamecode\%AB%\.git\logs\HEAD /D /V /Y >nul
copy gitrepo\.git\logs\refs\remotes\origin\master gamecode\%AB%\.git\logs\refs\remotes\origin\master /D /V /Y >nul
mklink gamecode\%AB%\nudge.py ..\..\bot\nudge.py >nul
rmdir /q gamecode\%AB%\data >nul 2>nul