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

Issue 11410016: Handle URLs in 'git clone' argument. (Closed)

Created:
8 years, 1 month ago by Bob Nystrom
Modified:
8 years, 1 month ago
Reviewers:
nweiz
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Handle URLs in 'git clone' argument. Committed: https://code.google.com/p/dart/source/detail?r=14763

Patch Set 1 #

Total comments: 2

Patch Set 2 : Respond to review. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -3 lines) Patch
M utils/pub/git_source.dart View 1 1 chunk +6 lines, -3 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Bob Nystrom
8 years, 1 month ago (2012-11-09 22:02:47 UTC) #1
nweiz
A couple notes on the RegExp, but otherwise LGTM. https://codereview.chromium.org/11410016/diff/1/utils/pub/git_source.dart File utils/pub/git_source.dart (right): https://codereview.chromium.org/11410016/diff/1/utils/pub/git_source.dart#newcode155 utils/pub/git_source.dart:155: ...
8 years, 1 month ago (2012-11-09 22:28:11 UTC) #2
Bob Nystrom
8 years, 1 month ago (2012-11-09 22:55:00 UTC) #3
https://codereview.chromium.org/11410016/diff/1/utils/pub/git_source.dart
File utils/pub/git_source.dart (right):

https://codereview.chromium.org/11410016/diff/1/utils/pub/git_source.dart#new...
utils/pub/git_source.dart:155: const URL_LIKE = const RegExp('[a-z]+\:');
On 2012/11/09 22:28:12, nweiz wrote:
> You should really use an r-string here, and it should start with "^". Also,
the
> colon doesn't need to be escaped.

Done, thanks!

Powered by Google App Engine
This is Rietveld 408576698