1. aragost Trifork
  2. Untitled project
  3. projrc

Commits

schueler  committed 4570d15

HGSUP-1001: Fix: adapt to changed config file priority

Adapt tests to config file priority which was changed in
https://bitbucket.org/lantiq/projrc/commits/18892a05d9f1.

  • Participants
  • Parent commits daf5443
  • Branches default

Comments (0)

Files changed (2)

File tests/test-projrc-include.t

View file
   >     World!
   > EOM
   $ hg showconfig foo
+  foo.c=1000
   foo.a=10000
-  foo.c=1000
   foo.b=Hello\nWorld!
   $ hg showconfig bar
   bar.x=Hello
   a = 10000
 
   $ hg showconfig foo
-  foo.a=10000
   foo.b=Hello\nWorld!
   foo.c=1000
+  foo.a=10000
   $ hg showconfig bar
   bar.x=Hello
   bar.y=World

File tests/test-projrc-loadorder.t

View file
 is still loaded:
 
   $ hg showconfig extensions
+  extensions.projrc=/home/schueler/repos/hg-build/src/projrc/tests/../projrc.py
   extensions.children=
-  extensions.projrc=*/projrc.py (glob)