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

Issue 11098064: Fix safesync_url handling for git. (Closed)

Created:
8 years, 2 months ago by szager1
Modified:
8 years, 2 months ago
Reviewers:
szager, M-A Ruel
CC:
chromium-reviews, Dirk Pranke, cmp+cc_chromium.org, M-A Ruel
Visibility:
Public.

Description

Fix safesync_url handling for git. Takes into account the new submodule-enabled repository layout. Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=161403

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Total comments: 7

Patch Set 4 : #

Total comments: 2

Patch Set 5 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+25 lines, -3 lines) Patch
M gclient_scm.py View 1 2 3 1 chunk +8 lines, -1 line 0 comments Download
M scm.py View 1 2 3 4 1 chunk +17 lines, -2 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
szager1
8 years, 2 months ago (2012-10-11 07:06:43 UTC) #1
szager1
This may help clarify the changes: http://code.google.com/p/chromium/wiki/UsingGit#Checking_out_LKGR
8 years, 2 months ago (2012-10-11 19:15:42 UTC) #2
M-A Ruel
Minor nits, sorry for the delay. https://codereview.chromium.org/11098064/diff/6001/scm.py File scm.py (right): https://codereview.chromium.org/11098064/diff/6001/scm.py#newcode405 scm.py:405: git_svn_rev = GIT.Capture(['svn', ...
8 years, 2 months ago (2012-10-11 20:53:17 UTC) #3
szager
https://codereview.chromium.org/11098064/diff/6001/scm.py File scm.py (right): https://codereview.chromium.org/11098064/diff/6001/scm.py#newcode405 scm.py:405: git_svn_rev = GIT.Capture(['svn', 'find-rev', 'r' + str(rev)], On 2012/10/11 ...
8 years, 2 months ago (2012-10-11 21:00:43 UTC) #4
M-A Ruel
8 years, 2 months ago (2012-10-11 21:06:14 UTC) #5
lgtm with pedanticness compliance.

https://codereview.chromium.org/11098064/diff/9002/scm.py
File scm.py (right):

https://codereview.chromium.org/11098064/diff/9002/scm.py#newcode405
scm.py:405: git_svn_rev = GIT.Capture(['svn', 'find-rev', 'r' + str(rev)],
git_svn_rev = GIT.Capture(
    ['svn', 'find-rev', 'r' + str(rev)], cwd=cwd).rstrip()

and yes, I'm pedantic about it. :)

https://codereview.chromium.org/11098064/diff/9002/scm.py#newcode409
scm.py:409: output = GIT.Capture(['rev-list', '--ancestry-path', '--reverse',
same

Powered by Google App Engine
This is Rietveld 408576698