diff contrib/check-commit @ 40229:2815e0db4c54

zsh_completion: use revsets to exclude this rev from suggestions to hg merge One of the most important aspects of a completion system is its speed, so 1 call to hg is definitely better than 4. Sorting by rev (descending) is to preserve the same order as in `hg heads` output. While at it, declare branches as an array too. Differential Revision: https://phab.mercurial-scm.org/D4426
author Anton Shestakov <av6@dwimlabs.net>
date Tue, 21 Aug 2018 20:30:53 +0800
parents 2fb3ae89e4e1
children 47084b5ffd80
line wrap: on
line diff