3 ms·
With Mercurial it's all like this. Plus merge commits referencing others' branches full of this sort of history. History is rather useless if it isn't clean.
by cryptonector 9y ago
With Mercurial it's all like this. Plus merge commits referencing others' branches full of this sort of history.
History is rather useless if it isn't clean.
Suppose you have a bunch of maintenance releases, and you have to backport some commits occasionally. (Sometimes you realize that you have to do this long after the commits are written.) If those commits are logically organized and minimal, then it's easy to cherry-pick them from the mainline onto the maintenance release branches. If not, then you're in for a world of hurt, and ultimately may have to replicate the relevant bug fixes by hand.
Clean history is critical to a large project, and especially to a large project with maintenance branches.