Skip to content

Clone on windows fails due to invalid names #57

Open
@p-bakker

Description

Hi, trying to clone a Mercurial repo on Windows using git-remote-hg, but it bombs out due to an attempt to create a file who's fileName contains illegal characters for a fileName on Windows (in my case the fileName contains double quotes, but single quotes, slashes, astrixes or questionMarks would have the same issue).

Now, I was wondering if this something that could be made to work properly inside git-remote-hg somehow, for example by escaping those invalid characters and perform the needed mapping, so as a user you don't have to worry about it.

Or should I just bite the bullet and try to fix my repo somehow?

Online resources tell me to configure my git repo to do a sparse checkout, excluding the files causing issues. Can look into this, but it requires to alter the git config file in your repo and since I'm still gloning, I don't have such a repo nor config file yet

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions