Skip to content
  • Georges Racinet's avatar
    HgGitRepository#hg_call: stop invalidating hg/git maps · 57b5dc4b5118
    Georges Racinet authored
    These invalidations are useful only when there are new
    commits, but the subsequent reads needed by lookups
    can be quite expensive for larger repos.
    For instance, a changeset publication does not need any
    invalidation. Nor does even a commit until one needs
    to convert the new changeset SHA to Git.
    
    Therefore, it is best for the caller to decide when exactly
    to invalidate, to avoid cases of invalidation + lookup when
    invalidation wasn't necessary.
    57b5dc4b5118