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

Issue 11236034: Fix version script for git repos that are not git-svn. (Closed)

Created:
8 years, 2 months ago by Mads Ager (google)
Modified:
8 years, 1 month ago
Reviewers:
ricow1, Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix version script for git repos that are not git-svn. R=ricow@google.com BUG= Committed: https://code.google.com/p/dart/source/detail?r=13921

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+17 lines, -13 lines) Patch
M runtime/tools/make_version.py View 1 chunk +17 lines, -13 lines 2 comments Download

Messages

Total messages: 4 (0 generated)
Mads Ager (google)
8 years, 2 months ago (2012-10-22 18:17:29 UTC) #1
ricow1
LGTM cc'ing Ivan since this is his script. We should probably do the same thing ...
8 years, 2 months ago (2012-10-22 18:23:40 UTC) #2
Ivan Posva
https://codereview.chromium.org/11236034/diff/1/runtime/tools/make_version.py File runtime/tools/make_version.py (right): https://codereview.chromium.org/11236034/diff/1/runtime/tools/make_version.py#newcode38 runtime/tools/make_version.py:38: git_proc = subprocess.Popen( I know this was already an ...
8 years, 1 month ago (2012-10-26 02:57:06 UTC) #3
Mads Ager (google)
8 years, 1 month ago (2012-10-26 06:26:46 UTC) #4
https://codereview.chromium.org/11236034/diff/1/runtime/tools/make_version.py
File runtime/tools/make_version.py (right):

https://codereview.chromium.org/11236034/diff/1/runtime/tools/make_version.py...
runtime/tools/make_version.py:38: git_proc = subprocess.Popen(
On 2012/10/26 02:57:06, Ivan Posva wrote:
> I know this was already an issue previously: What if this is not a git
checkout
> either? But now you just get an exception thrown out of this function. Not
good.

Yeah, I actually did remove a try: block from here. I should put it back. Wrap
this entire else: in a try: block and catch the exceptions. Thanks.

Powered by Google App Engine
This is Rietveld 408576698