tests/test-xdg.t
author paugier <pierre.augier@univ-grenoble-alpes.fr>
Thu, 03 Oct 2024 14:45:01 +0200
changeset 51981 d07034819565
parent 51607 a4b3b8dee0a8
permissions -rw-r--r--
install: add long_description_content_type

#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