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
experimental/szager/collated-output
mark@chromium.org 14 years ago
parent 1f063db16a
commit 736aefea58

@ -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.

Loading…
Cancel
Save