@echo off
setlocal enableextensions
setlocal enabledelayedexpansion
rem svn status --ignore-externals _XXX
set org=_XXX
set dst=____
for /F "tokens=1,2* delims= " %%i in ('svn status --ignore-externals %org%') do (
if not "%%i"=="X" (
set source=%%j
set target=%%j
set target=!target:*%org%=%dst%!
echo F: !source!
echo T: !target!
if exist "!source!\" (
xcopy /y /h /r /e /i "!source!" "!target!" > nul
) else (
xcopy /y /h /r "!source!" "!target!*" > nul
)
)
)
2015年4月11日 星期六
從TSVN中找出修改的檔案
訂閱:
張貼留言 (Atom)
沒有留言:
張貼留言