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

Issue 317783008: Do not assign revision when checking the commit existence. (Closed)

Created:
6 years, 6 months ago by haltonhuo
Modified:
6 years, 6 months ago
CC:
chromium-reviews, Dirk Pranke, cmp-cc_chromium.org, iannucci+depot_tools_chromium.org, ilevy-cc_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Visibility:
Public.

Description

Do not assign revision when checking the commit existence. 'git rev-parse <revision> will return same revision result with newline appended if revision exists. The newline will cause the following checkout command will fail, so remove the assignment. BUG= R=agable@chromium.org, rogerta@chromium.org Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=277615

Patch Set 1 #

Patch Set 2 : Use strip instead #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M checkout.py View 1 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
haltonhuo
6 years, 6 months ago (2014-06-05 06:37:19 UTC) #1
haltonhuo
6 years, 6 months ago (2014-06-06 07:20:35 UTC) #2
agable
On 2014/06/06 07:20:35, haltonhuo wrote: Much better to .strip() the output than to remove the ...
6 years, 6 months ago (2014-06-11 21:16:28 UTC) #3
haltonhuo
On 2014/06/11 21:16:28, agable wrote: > On 2014/06/06 07:20:35, haltonhuo wrote: > > Much better ...
6 years, 6 months ago (2014-06-13 03:45:23 UTC) #4
Roger Tawa OOO till Jul 10th
Hi Halton, Sorry for late response. Your change looks fine to me, but I think ...
6 years, 6 months ago (2014-06-13 14:46:11 UTC) #5
haltonhuo
On 2014/06/13 14:46:11, Roger Tawa wrote: > Hi Halton, > > Sorry for late response. ...
6 years, 6 months ago (2014-06-16 03:53:22 UTC) #6
Roger Tawa OOO till Jul 10th
On 2014/06/16 03:53:22, haltonhuo wrote: > On 2014/06/13 14:46:11, Roger Tawa wrote: > > Hi ...
6 years, 6 months ago (2014-06-16 14:46:00 UTC) #7
agable
On 2014/06/16 at 14:46:00, rogerta wrote: > On 2014/06/16 03:53:22, haltonhuo wrote: > > On ...
6 years, 6 months ago (2014-06-16 21:32:45 UTC) #8
haltonhuo
The CQ bit was checked by halton.huo@intel.com
6 years, 6 months ago (2014-06-17 01:48:03 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/halton.huo@intel.com/317783008/20001
6 years, 6 months ago (2014-06-17 01:48:54 UTC) #10
commit-bot: I haz the power
6 years, 6 months ago (2014-06-17 01:50:39 UTC) #11
Message was sent while issue was closed.
Change committed as 277615

Powered by Google App Engine
This is Rietveld 408576698