Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(577)

Issue 3570006: Try harder to determine lastchange in case of git-svn repository with some local changes. (Closed)

Created:
10 years, 2 months ago by Denis Lagno
Modified:
9 years, 6 months ago
Reviewers:
whywhat, Evan Martin, sgk
CC:
chromium-reviews
Visibility:
Public.

Description

Try harder to determine lastchange in case of git-svn repository with some local changes. BUG=http://crosbug.com/7254 TEST=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=61526

Patch Set 1 #

Patch Set 2 : do not use +mod suffix #

Total comments: 7

Patch Set 3 : tweak #

Patch Set 4 : tweak #

Patch Set 5 : tweak #

Total comments: 4

Patch Set 6 : tweak #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -13 lines) Patch
M build/util/lastchange.py View 1 2 3 4 5 2 chunks +15 lines, -13 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Denis Lagno
please take a look
10 years, 2 months ago (2010-10-04 09:21:52 UTC) #1
Denis Lagno
looks like sgk@ have been inactive this year. Tossing in more reviewers.
10 years, 2 months ago (2010-10-04 10:42:04 UTC) #2
whywhat
I'm not familiar with this code anyhow and not sure when and where it's executed. ...
10 years, 2 months ago (2010-10-04 11:03:08 UTC) #3
Denis Lagno
http://codereview.chromium.org/3570006/diff/3001/4001 File build/util/lastchange.py (right): http://codereview.chromium.org/3570006/diff/3001/4001#newcode2 build/util/lastchange.py:2: # Copyright (c) 2009 The Chromium Authors. All rights ...
10 years, 2 months ago (2010-10-04 12:09:46 UTC) #4
Denis Lagno
rephrasing: that awk line is entirely optimization detail. Script will work the same if you ...
10 years, 2 months ago (2010-10-04 12:31:28 UTC) #5
whywhat
LGTM from me, but please, don't submit until someone more familiar with this part of ...
10 years, 2 months ago (2010-10-04 14:50:01 UTC) #6
Evan Martin
Why not: $ git svn info | grep ^Revision Revision: 61385
10 years, 2 months ago (2010-10-04 19:03:28 UTC) #7
Denis Lagno
> $ git svn info | grep ^Revision > Revision: 61385 Great. Unfortunately it does ...
10 years, 2 months ago (2010-10-05 09:58:37 UTC) #8
Evan Martin
Ah, bummer! It seems to query for HEAD explicitly. That's too bad. my ($url, $rev, ...
10 years, 2 months ago (2010-10-05 15:51:01 UTC) #9
Evan Martin
PS: http://google-styleguide.googlecode.com/svn/trunk/pyguide.html#Naming "Names to Avoid single character names except for counters or iterators" Sorry to ...
10 years, 2 months ago (2010-10-05 15:52:08 UTC) #10
Denis Lagno
Closing pipe in python works fine. So got rid of awk. Also fixed names (they ...
10 years, 2 months ago (2010-10-05 16:29:57 UTC) #11
Evan Martin
http://codereview.chromium.org/3570006/diff/12002/17001 File build/util/lastchange.py (right): http://codereview.chromium.org/3570006/diff/12002/17001#newcode48 build/util/lastchange.py:48: proc = subprocess.Popen(['git', 'log'], The reason for the -100 ...
10 years, 2 months ago (2010-10-05 17:09:29 UTC) #12
Denis Lagno
http://codereview.chromium.org/3570006/diff/12002/17001 File build/util/lastchange.py (right): http://codereview.chromium.org/3570006/diff/12002/17001#newcode48 build/util/lastchange.py:48: proc = subprocess.Popen(['git', 'log'], On 2010/10/05 17:09:29, Evan Martin ...
10 years, 2 months ago (2010-10-05 17:25:27 UTC) #13
Evan Martin
10 years, 2 months ago (2010-10-05 17:34:04 UTC) #14
LGTM

Powered by Google App Engine
This is Rietveld 408576698