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

Issue 6474044: Try harder to dig git-svn revision. (Closed)

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

Description

Try harder to dig git-svn revision. Previous behaviour for git-svn repositories is to return git hash (this hash then appears on about:version page and can be copy-pasted into bugreport). However for developer branches with local modifications this hash bears no information to the outside world. Now we return svn revision for trunk git-svn checkouts and svn-revision plus "-dirty" suffix for git branches. The magic required to run git on cygwin is factored out into separate function. BUG=chromium:70909 TEST=Manual Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=76530

Patch Set 1 : x #

Total comments: 8

Patch Set 2 : tweak #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -31 lines) Patch
M build/util/lastchange.py View 1 4 chunks +131 lines, -31 lines 2 comments Download

Messages

Total messages: 8 (0 generated)
Denis Lagno
please take a look
9 years, 10 months ago (2011-02-11 19:47:07 UTC) #1
evanm
http://codereview.chromium.org/6474044/diff/3001/build/util/lastchange.py File build/util/lastchange.py (right): http://codereview.chromium.org/6474044/diff/3001/build/util/lastchange.py#newcode62 build/util/lastchange.py:62: def RunGitCommand(directory, command, agent): Can you add docs for ...
9 years, 10 months ago (2011-02-25 19:06:59 UTC) #2
evanm
9 years, 10 months ago (2011-02-25 19:07:00 UTC) #3
Denis Lagno
http://codereview.chromium.org/6474044/diff/3001/build/util/lastchange.py File build/util/lastchange.py (right): http://codereview.chromium.org/6474044/diff/3001/build/util/lastchange.py#newcode62 build/util/lastchange.py:62: def RunGitCommand(directory, command, agent): On 2011/02/25 19:06:59, evanm wrote: ...
9 years, 9 months ago (2011-03-01 12:33:52 UTC) #4
Evan Martin
LGTM please be prepared to revert or quick-fix when people say you broke them :) ...
9 years, 9 months ago (2011-03-02 00:03:59 UTC) #5
Denis Lagno
On 2011/03/02 00:03:59, Evan Martin wrote: > please be prepared to revert or quick-fix when ...
9 years, 9 months ago (2011-03-02 13:16:19 UTC) #6
fta
On 2011/03/02 00:03:59, Evan Martin wrote: > LGTM > > please be prepared to revert ...
9 years, 9 months ago (2011-03-03 11:36:12 UTC) #7
Denis Lagno
9 years, 9 months ago (2011-03-03 12:03:15 UTC) #8
On 2011/03/03 11:36:12, fta wrote:
> > please be prepared to revert or quick-fix when people say you broke them :)
> 
> eh, indeed, it broke my Ubuntu builds:

Thanks for report.
Hopefully this should fix it: http://codereview.chromium.org/6610013/
I've committed it on trunk.

Powered by Google App Engine
This is Rietveld 408576698