alanbian / git-repo

Automatically exported from code.google.com/p/git-repo
Apache License 2.0
0 stars 0 forks source link

double slash between base-url and project-name should be removed #93

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Affected Version:1.13
Environment:ubuntu10.10

What steps will reproduce the problem?

I got AOSP with repo:

    $ repo init -u https://android.googlesource.com/platform/manifest
    $ repo sync

I found double slash between AOSP's base url and project name in all projects.
For example, in bionic, git remote -v shows;

    https://android.googlesource.com//platform/bionic

What is the expected output? What do you see instead?

It should be;

    https://android.googlesource.com/platform/bionic

Please provide any additional information below.

This makes no problem with https://
but, when I mirrored AOSP using gitolite, the remote url of bionic is;

    gitolite@ssh.mysite.net:/mirror/aosp//platform/bionic

and, git clone failed cause of gitolite can't parse "//" properly when it check 
permission.

I looked up repo and made patch to fix this problem.
file attached.

Original issue reported on code.google.com by ff4...@gmail.com on 1 Nov 2011 at 4:12

Attachments:

GoogleCodeExporter commented 9 years ago
It's fixed in v1.7.7.6.
Thanks Conley.

Original comment by ff4...@gmail.com on 4 Nov 2011 at 1:43

GoogleCodeExporter commented 9 years ago

Original comment by david.pu...@sonymobile.com on 9 Apr 2013 at 1:21