Commit 736aefea authored by mark@chromium.org's avatar mark@chromium.org

Only show "Depot Tools has been updated" messages when the tools are actually

updated; show the real last-change revision and not the current HEAD revision.

BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6881049

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@82124 0039d316-1c4b-4281-b951-d872f2087c98
parent 1f063db1
......@@ -44,7 +44,8 @@ function test_git_svn {
# Get the current SVN revision.
get_svn_revision() {
echo `svn info "$base_dir" | awk '{ if ($1 == "Revision:") { print $2 }}'`
LANGUAGE=C svn info "$base_dir" | \
awk -F': ' '{ if ($1 == "Last Changed Rev") { print $2 }}'
}
# Update git checkouts.
......
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