tests: minor cleanup to treemanifest test stable
authorMartin von Zweigbergk <martinvonz@google.com>
Thu, 28 Jan 2016 13:49:05 -0800
branchstable
changeset 27952 c5ffbd4c033b
parent 27951 6bce6d925e45
child 27953 88609cfa3745
tests: minor cleanup to treemanifest test
tests/test-treemanifest.t
--- 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