Mercurial > hg > hg-git
changeset 713:96458acb160a
test-git-submodules: replace hg cat with hg manifest
Mercurial commit a2cc3c08c3ac added support for hg cat across subrepositories.
That caused these tests to break. Fix this by using hg manifest instead.
author | Siddharth Agarwal <sid0@fb.com> |
---|---|
date | Thu, 08 May 2014 13:53:36 -0700 |
parents | 51b3b3b4927e |
children | 96f0463a4e54 |
files | tests/test-git-submodules.t |
diffstat | 1 files changed, 10 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/tests/test-git-submodules.t +++ b/tests/test-git-submodules.t @@ -187,7 +187,11 @@ 6e4ad8da50204560c00fa25e4987eb2e239029ba subrepo2 $ hg cat -r 4 .hgsub subrepo2 = [git]../gitsubrepo - $ hg cat -r 4 subrepo + $ hg manifest -r 4 + .gitmodules + .hgsub + .hgsubstate + alpha subrepo $ hg gverify -r 4 verifying rev e233b0858578 against git commit f6436a472da00f581d8d257e9bbaf3c358a5e88c @@ -199,9 +203,11 @@ $ hg cat -r 5 .hgsub subrepo2 = [git]../gitsubrepo alpha = [git]../gitsubrepo - $ hg cat -r 5 alpha - alpha: no such file in rev 97f89374a0ce - [1] + $ hg manifest -r 5 + .gitmodules + .hgsub + .hgsubstate + subrepo $ hg gverify -r 5 verifying rev 97f89374a0ce against git commit 88171163bf4795b5570924e51d5f8ede33f8bc28