tests/test-xdg.t
author Gregory Szorc <gregory.szorc@gmail.com>
Sat, 13 May 2017 11:58:08 -0700
changeset 32321 c34532365b38
parent 30961 354020079723
child 32467 7d8da7b54dc0
permissions -rw-r--r--
branchmap: remove use of buffer() to support Python 2.6 The use of buffer() was added in 7359157b9e46 to support Python 2.6, which we no longer support.

#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