Mercurial > hg
view tests/test-xdg.t @ 51936:c6899b334d56
typing: add type annotations to `mercurial/mdiff.py`
We'll leave converting `diffopts` to `attrs` as another project.
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Mon, 30 Sep 2024 19:40:14 -0400 |
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