clonning repo with sub repos using multi threading
Created originally on Bitbucket by mizort1989 (Hassan Osama)
Hello, I often work with repos that has a lot of sub repos, the process of cloning these 20 GB repos take a lot of time over the server specially that the servers are located all over the world.
the issue is not in the link speed rather than the way the cloning of the repo works, when i close a parent repo , it clones it's history first then start cloning the sub repos in the .hgsub one by one, i find that cloning these sub repos simultaneously will be very efficient and will save a large amount of time.
hope to hear the community's opinion on the matter and if someone else shares the opinion.
Best Regards, mizort1989