# HG changeset patch # User Siddharth Agarwal # Date 1399582416 25200 # Node ID 96458acb160a1615bd9565e7908f36e6641ad6d7 # Parent 51b3b3b4927e876b8815c3f7242b56b189189b13 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. diff --git a/tests/test-git-submodules.t b/tests/test-git-submodules.t --- 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