From 17c4771ea6697e1e955b192ff45ce985cfc56c26 Mon Sep 17 00:00:00 2001 From: "agable@chromium.org" Date: Mon, 23 May 2016 23:53:44 +0000 Subject: [PATCH] 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 --- update_depot_tools | 11 +++++++++++ update_depot_tools.bat | 11 +++++++++++ 2 files changed, 22 insertions(+) diff --git a/update_depot_tools b/update_depot_tools index 127aa2b5d..993298f91 100755 --- a/update_depot_tools +++ b/update_depot_tools @@ -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 diff --git a/update_depot_tools.bat b/update_depot_tools.bat index 761c5b348..73639af51 100644 --- a/update_depot_tools.bat +++ b/update_depot_tools.bat @@ -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%."