tests/test-xdg.t
author Simon Farnsworth <simonfar@fb.com>
Mon, 06 Mar 2017 03:27:52 -0800
changeset 31203 a8e4322f64c1
parent 30941 354020079723
child 32429 7d8da7b54dc0
permissions -rw-r--r--
hgk: set a blocked tag when the user invokes view

#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