Mercurial > hg-stable
diff doc/gendoc.py @ 24940:6b54f749659b
revset: avoid returning duplicates when returning ancestors
Before this patch, _revancestors were giving false result when a revision was
duplicated in the input. Duplicated entry are rare but may happen when using the
`%lx` notation internally.
This series has no visible impact on the performance of the function according
to benchmark.
author | Pierre-Yves David <pierre-yves.david@fb.com> |
---|---|
date | Wed, 26 Mar 2014 15:55:50 -0700 |
parents | e0b29a0c36c4 |
children | 7e8e3c0920a6 |