diff -r a01988cd9b61 -r 5900bc09e684 tests/test-subrepo-git.t --- a/tests/test-subrepo-git.t Thu May 08 19:03:00 2014 +0900 +++ b/tests/test-subrepo-git.t Thu May 08 19:03:00 2014 +0900 @@ -658,4 +658,13 @@ $ cat s/sub/.hg/hgrc cat: s/sub/.hg/hgrc: No such file or directory [1] + +Test that sanitizing is omitted in meta data area: + + $ mkdir s/.git/.hg + $ echo '.hg/hgrc in git metadata area' > s/.git/.hg/hgrc + $ hg update -q -C af6d2edbb0d3 + checking out detached HEAD in subrepo s + check out a git branch if you intend to make changes + $ cd ..