tests/test-xdg.t
author Augie Fackler <augie@google.com>
Thu, 23 Mar 2017 10:46:50 -0400
changeset 31611 0b3eb280564b
parent 30961 354020079723
child 32467 7d8da7b54dc0
permissions -rw-r--r--
revsetlang: perform quoting using ui.escapestr instead of repr() This changes one of the doctest results, but I'm pretty sure on inspection that it's an equivalent result.

#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