Native Mercurial migration, fixing diff comment problem
(the ActiveRecord Model for comments is
We skip the recomputation that fails in #610 (closed), because
- they are supposed to produce the same result as before the migration
- they involve lots of repository access that are expensive and prone to fail while we are in the process of changing hashes
Finally, for performance, we avoid writing Notes when they are unchanged.