tests/test-xdg.t
author Simon Farnsworth <simonfar@fb.com>
Mon, 06 Mar 2017 03:09:15 -0800
changeset 31215 a48c6ac5c13a
parent 30961 354020079723
child 32467 7d8da7b54dc0
permissions -rw-r--r--
hook: give exthooks tags for blocking time The ui.system autogenerated tag isn't really useful - as they're named, let's use the name the user gave us.

#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