tests/test-xdg.t
author Yuya Nishihara <yuya@tcha.org>
Sat, 25 Feb 2017 22:04:30 +0900
changeset 31180 e64b70c96338
parent 30961 354020079723
child 32467 7d8da7b54dc0
permissions -rw-r--r--
formatter: drop filters argument from maketemplater() It's unused now. I want to keep the high-level API simple.

#if no-windows no-osx

  $ mkdir -p xdgconf/hg
  $ echo '[ui]' > xdgconf/hg/hgrc
  $ echo 'username = foobar' >> xdgconf/hg/hgrc
  $ XDG_CONFIG_HOME="`pwd`/xdgconf" ; export XDG_CONFIG_HOME
  $ unset HGRCPATH
  $ hg config ui.username
  foobar

#endif