hgext/__init__.py
author Jun Wu <quark@fb.com>
Mon, 26 Dec 2016 00:02:42 +0000
changeset 30684 0064a1eb28e2
parent 28450 155e3308289c
child 43076 2372284d9457
permissions -rw-r--r--
chg: respect XDG_RUNTIME_DIR $XDG_RUNTIME_DIR [1] is a better place for user daemons. Let's use it and fallback to $TMPDIR. After this patch, chg will try socket paths in the following order: 1. $CHGSOCKNAME 2. $XDG_RUNTIME_DIR/chg/server 3. ${TMPDIR:-tmp}/chg$UID/server [1]: https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html

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