Mercurial > hg
comparison tests/test-command-template.t @ 37418:afd7b0afe4a6
tests: don't drop global hgrc
Various tests are failing when the simple store extension is loaded
because the test overrides HGRCPATH and preempts loading of extensions
that were injected via --extra-config-opt.
In most cases, it is acceptable to always load the global HGRCPATH.
So this commit changes a couple of tests so the global HGRCPATH
is still pulled in.
Differential Revision: https://phab.mercurial-scm.org/D3098
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Wed, 04 Apr 2018 14:25:20 -0700 |
parents | 7c902a8345ef |
children | 75c13343cf38 |
comparison
equal
deleted
inserted
replaced
37417:76d2115cb817 | 37418:afd7b0afe4a6 |
---|---|
282 $ hg log -l1 -T./map-simple | 282 $ hg log -l1 -T./map-simple |
283 8 | 283 8 |
284 | 284 |
285 so it can be included in hgrc | 285 so it can be included in hgrc |
286 | 286 |
287 $ cat <<'EOF' > myhgrc | 287 $ cat <<EOF > myhgrc |
288 > %include $HGRCPATH | |
288 > %include map-simple | 289 > %include map-simple |
289 > [templates] | 290 > [templates] |
290 > foo = "{changeset}" | 291 > foo = "{changeset}" |
291 > EOF | 292 > EOF |
292 $ HGRCPATH=./myhgrc hg log -l1 -Tfoo | 293 $ HGRCPATH=./myhgrc hg log -l1 -Tfoo |