windows-nt/Source/XPSP1/NT/tools/revert_public_bin.cmd
2020-09-26 16:20:57 +08:00

26 lines
560 B
Batchfile

@if "%_echo%"=="" echo off
setlocal
if "%1" == "-?" goto Usage
if "%1" == "/?" goto Usage
if "%1" == "-help" goto Usage
if "%1" == "/help" goto Usage
pushd %_NTDRIVE%%_NTROOT%\public
sd revert ...\*.lib ...\*.obj ...\*.pdb ...\*.tlb ...\*.clb ...\*.exp
popd
goto :eof
:usage
echo.
echo This script will revert all binary files checked into the public tree.
echo It's supposed to be used during the integration step from one branch to
echo another.
echo.
echo Usage: revert_public_bin {-?}
echo where:
echo -? : prints this message
echo.