view tests/test-xdg.t @ 31800:c63cb2d10d6d

revsetlang: enable optimization of 'x + y' expression It's been disabled since 4d1e56b29a91, but it can be enabled now as the ordering requirement is resolved at analyze().
author Yuya Nishihara <yuya@tcha.org>
date Sat, 14 May 2016 20:51:57 +0900
parents 354020079723
children 7d8da7b54dc0
line wrap: on
line source

#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