Add warnings to SVN update_depot_tools

R=iannucci@chromium.org
BUG=600446

Review URL: https://codereview.chromium.org/2000913002 .

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@300660 0039d316-1c4b-4281-b951-d872f2087c98
changes/30/350330/1
agable@chromium.org 9 years ago
parent d14ce3b932
commit 17c4771ea6

@ -160,6 +160,17 @@ fi
# We're on POSIX. We can now safely look for svn checkout.
if [ "X$DEPOT_TOOLS_UPDATE" != "X0" -a -e "$base_dir/.svn" ]
then
echo "========================"
echo "WARNING: You have an SVN checkout of depot_tools!"
echo
echo "depot_tools is migrating to Git on June 6, 2016. If you still have an"
echo "SVN checkout then, you will STOP RECEIVING UPDATES to depot_tools."
echo
echo "Before that date, please follow the instructions here[1] to get a Git"
echo "copy of depot_tools."
echo
echo "[1]: https://www.chromium.org/developers/how-tos/install-depot-tools"
echo "========================"
# Update the root directory to stay up-to-date with the latest depot_tools.
BEFORE_REVISION=$(get_svn_revision)
if echo $* | grep -e --force > /dev/null; then

@ -38,6 +38,17 @@ goto :EOF
:SVN_UPDATE
echo ========================
echo WARNING: You have an SVN checkout of depot_tools!
echo.
echo depot_tools is migrating to Git on June 6, 2016. If you still have an
echo SVN checkout then, you will STOP RECEIVING UPDATES to depot_tools.
echo.
echo Before that date, please follow the instructions here[1] to get a Git
echo copy of depot_tools.
echo.
echo [1]: https://www.chromium.org/developers/how-tos/install-depot-tools
echo ========================
FOR %%A IN (%*) DO (
IF "%%A" == "--force" (
call svn -q revert -R "%DEPOT_TOOLS_DIR%."

Loading…
Cancel
Save