Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
585 B

  1. @if "%_echo%"=="" echo off
  2. setlocal
  3. if "%1" == "-?" goto Usage
  4. if "%1" == "/?" goto Usage
  5. if "%1" == "-help" goto Usage
  6. if "%1" == "/help" goto Usage
  7. pushd %_NTDRIVE%%_NTROOT%\public
  8. sd revert ...\*.lib ...\*.obj ...\*.pdb ...\*.tlb ...\*.clb ...\*.exp
  9. popd
  10. goto :eof
  11. :usage
  12. echo.
  13. echo This script will revert all binary files checked into the public tree.
  14. echo It's supposed to be used during the integration step from one branch to
  15. echo another.
  16. echo.
  17. echo Usage: revert_public_bin {-?}
  18. echo where:
  19. echo -? : prints this message
  20. echo.