tests/test-xdg.t
author Mads Kiilerich <madski@unity3d.com>
Tue, 09 May 2017 00:11:30 +0200
branchstable
changeset 32204 78fb569e2c33
parent 30941 354020079723
child 32429 7d8da7b54dc0
permissions -rw-r--r--
graft: test coverage of grafts and how merges can break duplicate detection This demonstrates unfortunate behaviour: extending the graft range cause the graft to behave differently. When the graft range includes a merge, we fail to detect duplicates that are ancestors of the merge.

#if no-windows no-osx

  $ 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
  foobar

#endif