comparison mercurial/exewrapper.c @ 30684:0064a1eb28e2

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
author Jun Wu <quark@fb.com>
date Mon, 26 Dec 2016 00:02:42 +0000
parents 210bb28ca4fb
children 0241dd94ed38
comparison
equal deleted inserted replaced
30683:4677df6b449a 30684:0064a1eb28e2