Mercurial > hg
diff hgext/amend.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 | 4145fd3569c3 |
children | e4803231f538 |