News for hackers. Stuff that matters.
Re:From a Single Repo, to Multi-Repos, to Monorepo, to Multi... by bluGill on Friday August 20, 2021 @10:17AM (#28246273)
Integrate often enough that nothing has diverged enough for that to be a problem. Short lived branches are good, long lived branches get into the problem you speak of.
Re:From a Single Repo, to Multi-Repos, to Monorepo, to Multi... by tsimionescu on Friday August 20, 2021 @01:09PM (#28248525)
We're back to things that only work for small changes. Large features that need days or weeks of work before they can be mainlined aren't a rare occurrence, they are the norm, and usually generate the most value for a product.

Not to mention, you often need to polish a release while developing large features for the next release - again cases where you need branches.

Of course, you can also try to take the feature flag model, and avoid refactoring entirely. Unlikely to be a good strategy for a long lived product.