hgext/__init__.py
author Anton Shestakov <av6@dwimlabs.net>
Fri, 10 Aug 2018 09:09:52 +0800
changeset 39205 69876534caf2
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
zsh_completion: declare appropriate local parameters for ->string form When ->string form is used for _arguments, the function that calls it must declare appropriate local parameters. Managing local return value is needed to tell the completion system if our function succeeded in suggesting something or not, plus without that `hg diff -<TAB>` doesn't look right. While at it, fix a copypaste error (s/diff_files/revert_files/). Docs: http://zsh.sourceforge.net/Doc/Release/Completion-System.html Differential Revision: https://phab.mercurial-scm.org/D4264

from __future__ import absolute_import
import pkgutil
__path__ = pkgutil.extend_path(__path__, __name__)