4 ms·
Companies that do this don't require you to check out the world, that would be craziness. Perforce allows for partial mappings and is used by pretty much all t
by slededit 10y ago
Companies that do this don't require you to check out the world, that would be craziness. Perforce allows for partial mappings and is used by pretty much all the big companies. Even Microsoft's internal source depot is just a fork of perforce.
Dependencies are usually handled by a binary import/export system where you pull modules from a shared "build the world" system from a known checkpoint.
- wocram 10y agoBoth git and hg supports shallow (low history) and sparse (selective files) checkouts as well, facebook has a blog post somewhere about how they built it into hg.
- kmiroslav 10y agoIt's still not the same as perforce's mappings. Even with shallow repos, git will force you to download the entire world each time you pull or fetch.
- jahewson 10y agoThat's not really the entire world though, because the history before the shallow clone will not be pulled or fetched. You'll get all the new stuff though.
- slededit 10y agoI don't think the scale of these places are fully appreciated. Your local enlistment could be a few hundred gigabytes and that is only the head revision of stuff you work with daily. Keeping more than just the current revision around is a lot of data for even a beefy workstation.