view tests/test-xdg.t @ 51712:e153995011b7

heptapod-ci: move version prints closer to the start This makes debugging a lot easier if anything is to go wrong, and shows output earlier.
author Raphaël Gomès <rgomes@octobus.net>
date Tue, 23 Jul 2024 12:12:03 +0200
parents a4b3b8dee0a8
children
line wrap: on
line source

#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