Rewrite commit coalescing logic to preserve monotonicity
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 11 Jul 2011 13:51:50 +0000 (15:51 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 11 Jul 2011 13:51:50 +0000 (15:51 +0200)
commit80e33dfe849781cf9a8989a13d8a244b877171ac
tree5215437fe7733b5224ee3fa06d7926b6711cb8af
parenta103a6f974f1ea345e983b149290f71d0c4258ab
Rewrite commit coalescing logic to preserve monotonicity

The previous logic would allow a situation such as A A' B B' C C'
where A' B' and C' could be merged to result in A A* B C violating
history flow for files in B and C.

The new strategy coalesces less commits but the result is (or should be
modulo new bugs) correct.
rcs-fast-export.rb