Skip to content

Same-named local subrepos with different origins cannot be converted due to ambiguity in the mapping #188

@jdanielp

Description

@jdanielp

Please see attached an example repo and mapping file that cannot be converted with the given submodule mapping technique.

Top level repo is srt_ambiguous. In v1 and v2 branches there is a srt_subx subrepo. But, they have different origins per branch. in branch v1 srt_subx corresponds to srt_suba repo. In v2 branch srt_subx refers to srt_subb repo.

I suspect the mapping file convention will need to be extended to define per-branch mappings. As with issue #187, I am not familiar-enough with the inner workings of hg2git and hg-fast-export(.sh|.py) to hack this myself.

ambiguous.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    contribution-requiredMaintainer has no time and/or no plans to work on this, interested parties should submit a patchverified-bugA confirmed bug in fast-export

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions