changeset 27952:c5ffbd4c033b stable

tests: minor cleanup to treemanifest test
author Martin von Zweigbergk <martinvonz@google.com>
date Thu, 28 Jan 2016 13:49:05 -0800
parents 6bce6d925e45
children 88609cfa3745
files tests/test-treemanifest.t
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/test-treemanifest.t	Fri Jan 29 14:19:29 2016 -0800
+++ b/tests/test-treemanifest.t	Thu Jan 28 13:49:05 2016 -0800
@@ -215,7 +215,7 @@
   updating to branch default
   11 files updated, 0 files merged, 0 files removed, 0 files unresolved
   $ cd repo-mixed
-  $ test -f .hg/store/meta
+  $ test -d .hg/store/meta
   [1]
   $ grep treemanifest .hg/requires
   treemanifest
@@ -273,13 +273,13 @@
 
 Turning off treemanifest config has no effect
 
-  $ hg debugindex .hg/store/meta/dir1/00manifest.i
+  $ hg debugindex --dir dir1
      rev    offset  length  delta linkrev nodeid       p1           p2
        0         0     127     -1       4 064927a0648a 000000000000 000000000000
        1       127     111      0       5 25ecb8cb8618 000000000000 000000000000
   $ echo 2 > dir1/a
   $ hg --config experimental.treemanifest=False ci -qm 'modify dir1/a'
-  $ hg debugindex .hg/store/meta/dir1/00manifest.i
+  $ hg debugindex --dir dir1
      rev    offset  length  delta linkrev nodeid       p1           p2
        0         0     127     -1       4 064927a0648a 000000000000 000000000000
        1       127     111      0       5 25ecb8cb8618 000000000000 000000000000