tests/test-xdg.t
author Raphaël Gomès <rgomes@octobus.net>
Mon, 29 Jul 2024 20:28:42 +0200
changeset 52170 1a8466fd904a
parent 51607 a4b3b8dee0a8
permissions -rw-r--r--
hg-core: add fncache module For now it's only a super simple trait. It will be used for calling back into Python soon, and later will be fleshed out into a full fncache.

#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