tests/test-xdg.t
author Raphaël Gomès <rgomes@octobus.net>
Mon, 24 Jun 2024 10:52:46 +0200
changeset 51644 f02ec1ecb3bf
parent 51632 a4b3b8dee0a8
permissions -rw-r--r--
branch3: use an explicitely experimental name for files Since this format is still experimental, we don't want to have to side-step the `branch3` name in case people do start using it before it's stable.

#if no-windows

  $ 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 2>/dev/null
  foobar

#endif