Mercurial > hg
diff hgext/keyword.py @ 41678:9d0d8793e847
branchmap: decode a label only once
This moves decoding of a label out of for loop. Minor speed up expected in cases
when one branch has multiple heads. For example: someone using bookmarks as
branches and hence ending up with multiple heads on default branch.
Differential Revision: https://phab.mercurial-scm.org/D5932
author | Pulkit Goyal <pulkit@yandex-team.ru> |
---|---|
date | Mon, 11 Feb 2019 15:41:08 +0300 |
parents | c7ffc53fbd19 |
children | d98ec36be808 |