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

Issue 344013005: Allow git cl also in repos with read-only git-svn. (Closed)

Created:
6 years, 5 months ago by Daniel Bratell
Modified:
6 years, 3 months ago
Reviewers:
iannucci
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
Project:
tools
Visibility:
Public.

Description

Allow git cl also in repos with read-only git-svn. If you have read-only git-svn git cl would still try to use svn commands, which would then fail. This changes git cl to only use git-svn if the remote svn repository use the svn:// protocol. It matches how chromium works and it allowed me to upload a patch. BUG=391430 R=iannucci Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=281500

Patch Set 1 #

Total comments: 1

Patch Set 2 : Reworded comment #

Patch Set 3 : Adapted a test #

Patch Set 4 : Fixed testcases #

Patch Set 5 : One more testcase. #

Patch Set 6 : Shorter line in testcase. #

Patch Set 7 : Allow file:// as well as svn:// #

Patch Set 8 : Rebased to newer master. #

Total comments: 1

Patch Set 9 : Git cl: Modified comment as well #

Unified diffs Side-by-side diffs Delta from patch set Stats (+12 lines, -7 lines) Patch
M git_cl.py View 1 2 3 4 5 6 7 8 1 chunk +7 lines, -3 lines 0 comments Download
M tests/git_cl_test.py View 1 2 3 4 5 3 chunks +5 lines, -4 lines 0 comments Download

Messages

Total messages: 39 (0 generated)
Daniel Bratell
iannucci, can you please take a look at this patch? It was something I had ...
6 years, 5 months ago (2014-06-30 15:17:32 UTC) #1
iannucci
https://codereview.chromium.org/344013005/diff/1/git_cl.py File git_cl.py (right): https://codereview.chromium.org/344013005/diff/1/git_cl.py#newcode330 git_cl.py:330: # If you have any "svn-remote.*" config keys, we ...
6 years, 5 months ago (2014-06-30 18:08:11 UTC) #2
Daniel Bratell
Ah, yes, the comment. Updated it. Please take another look.
6 years, 5 months ago (2014-07-01 06:29:40 UTC) #3
iannucci
lgtm
6 years, 5 months ago (2014-07-01 21:10:21 UTC) #4
Daniel Bratell
The CQ bit was checked by bratell@opera.com
6 years, 5 months ago (2014-07-02 05:55:23 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/344013005/40001
6 years, 5 months ago (2014-07-02 05:55:49 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-02 05:57:33 UTC) #7
commit-bot: I haz the power
Presubmit check for 344013005-40001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 5 months ago (2014-07-02 05:57:34 UTC) #8
Daniel Bratell
The CQ bit was checked by bratell@opera.com
6 years, 5 months ago (2014-07-02 07:02:41 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/344013005/60001
6 years, 5 months ago (2014-07-02 07:03:15 UTC) #10
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-02 07:06:25 UTC) #11
commit-bot: I haz the power
Presubmit check for 344013005-60001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 5 months ago (2014-07-02 07:06:26 UTC) #12
Daniel Bratell
The CQ bit was checked by bratell@opera.com
6 years, 5 months ago (2014-07-02 16:46:28 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/344013005/80001
6 years, 5 months ago (2014-07-02 16:47:14 UTC) #14
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-02 16:49:14 UTC) #15
commit-bot: I haz the power
Presubmit check for 344013005-80001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 5 months ago (2014-07-02 16:49:15 UTC) #16
Daniel Bratell
The CQ bit was checked by bratell@opera.com
6 years, 5 months ago (2014-07-02 16:58:33 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/344013005/80001
6 years, 5 months ago (2014-07-02 16:58:56 UTC) #18
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-02 17:00:46 UTC) #19
commit-bot: I haz the power
Presubmit check for 344013005-80001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 5 months ago (2014-07-02 17:00:47 UTC) #20
Daniel Bratell
The CQ bit was checked by bratell@opera.com
6 years, 5 months ago (2014-07-02 17:03:35 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/344013005/100001
6 years, 5 months ago (2014-07-02 17:03:58 UTC) #22
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-02 17:05:39 UTC) #23
commit-bot: I haz the power
Presubmit check for 344013005-100001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 5 months ago (2014-07-02 17:05:40 UTC) #24
Daniel Bratell
The CQ bit was checked by bratell@opera.com
6 years, 5 months ago (2014-07-02 17:14:35 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/344013005/120001
6 years, 5 months ago (2014-07-02 17:15:03 UTC) #26
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 5 months ago (2014-07-02 17:17:10 UTC) #27
commit-bot: I haz the power
Presubmit check for 344013005-120001 failed and returned exit status 1. Running presubmit commit checks ...
6 years, 5 months ago (2014-07-02 17:17:11 UTC) #28
Daniel Bratell
The problem was that tests used file:// urls to svn repos and those were no ...
6 years, 5 months ago (2014-07-04 12:07:46 UTC) #29
iannucci
lgtm https://codereview.chromium.org/344013005/diff/160001/git_cl.py File git_cl.py (right): https://codereview.chromium.org/344013005/diff/160001/git_cl.py#newcode330 git_cl.py:330: # The presence of a svn-remote using the ...
6 years, 5 months ago (2014-07-04 17:08:43 UTC) #30
Daniel Bratell
The CQ bit was checked by bratell@opera.com
6 years, 5 months ago (2014-07-07 07:26:00 UTC) #31
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bratell@opera.com/344013005/180001
6 years, 5 months ago (2014-07-07 07:26:21 UTC) #32
commit-bot: I haz the power
Change committed as 281500
6 years, 5 months ago (2014-07-07 07:28:36 UTC) #33
andresp-chromium
On 2014/07/07 07:28:36, I haz the power (commit-bot) wrote: > Change committed as 281500 This ...
6 years, 5 months ago (2014-07-07 09:09:54 UTC) #34
Daniel Bratell
On 2014/07/07 09:09:54, andresp wrote: > On 2014/07/07 07:28:36, I haz the power (commit-bot) wrote: ...
6 years, 5 months ago (2014-07-07 09:17:45 UTC) #35
Daniel Bratell
A revert of this CL has been created in https://codereview.chromium.org/375553002/ by bratell@opera.com. The reason for ...
6 years, 5 months ago (2014-07-07 09:18:19 UTC) #36
iannucci
On 2014/07/07 09:18:19, Daniel Bratell wrote: > A revert of this CL has been created ...
6 years, 5 months ago (2014-07-07 18:30:58 UTC) #37
Daniel Bratell
On 2014/07/07 18:30:58, iannucci wrote: > On 2014/07/07 09:18:19, Daniel Bratell wrote: > > A ...
6 years, 5 months ago (2014-07-08 15:37:33 UTC) #38
Daniel Bratell
6 years, 3 months ago (2014-09-01 12:38:53 UTC) #39
On 2014/07/08 15:37:33, Daniel Bratell wrote:
> On 2014/07/07 18:30:58, iannucci wrote:
> > On 2014/07/07 09:18:19, Daniel Bratell wrote:
> > > A revert of this CL has been created in
> > > https://codereview.chromium.org/375553002/ by mailto:bratell@opera.com.
> > > 
> > > The reason for reverting is: Breaks WebRTC (and possibly other projects
> > actually
> > > using https:// for svn access)..
> > 
> > :(
> 
> Not been able to locate a better heuristic. How bad would it be to hardcode a
> few repo names (Blink and Chromium)?

Closing since mixed svn/git support is not very interesting anymore. At least
not to me.

Powered by Google App Engine
This is Rietveld 408576698