Skip to content

Error when cloning from root without specifying an explicit repository name #1201

@0x53A

Description

@0x53A

I need to clone a complete repository.

Version: master (built from source)
Command: quick-clone http://##srv##:8080/tfs/visualstudio $/
Failure: Der Pfad hat ein ungültiges Format. (The path format is invalid)

I debugged a little bit into it, and found that the exception came from Clone.cs

With the following change, it almost works:

grafik

Now it created my repo in .\repo\repo\.git, but except for that little "cosmetic error" cloning worked. I did not yet test anything else. Will probably test commiting tomorrow ...

Looking through the history, there have been a few attempts regarding this, in 2014 it seemed to work for one person, and I found a PR that fixed it, so I guess this is a regression?

Do you know more about this already, or should I investigate and maybe send a PR?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions