Commit 17c4771e authored by agable@chromium.org's avatar agable@chromium.org

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
parent d14ce3b9
......@@ -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%."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment