Skip to content
Snippets Groups Projects
Commit 53912d30 authored by Alexis S. L. Carvalho's avatar Alexis S. L. Carvalho
Browse files

Avoid calling heads() twice on every hg commit.

In an extreme case (merging two revisions with very low revision numbers)
this could be slower than the previous code, but it should be much faster
in the usual cases (parents are near the tip).  It also avoids some races
in some uninteresting cases (e.g. two concurrent hg commits).
parent 2c370f08
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment