diff tests/test-narrow-commit.t @ 36084:dc01484606da

tests: fold narrow treemanifest tests into main test file using testcases These tests predate the testcases functionality in run-tests.py, so it was never done in narrowhg. Differential Revision: https://phab.mercurial-scm.org/D1979
author Augie Fackler <augie@google.com>
date Thu, 01 Feb 2018 17:19:41 -0500
parents a2a6e724d61a
children deb851914fd7
line wrap: on
line diff
--- a/tests/test-narrow-commit.t	Mon Jan 29 18:16:23 2018 -0500
+++ b/tests/test-narrow-commit.t	Thu Feb 01 17:19:41 2018 -0500
@@ -1,5 +1,14 @@
+#testcases flat tree
+
   $ . "$TESTDIR/narrow-library.sh"
 
+#if tree
+  $ cat << EOF >> $HGRCPATH
+  > [experimental]
+  > treemanifest = 1
+  > EOF
+#endif
+
 create full repo
 
   $ hg init master
@@ -67,7 +76,8 @@
   created new head
   $ hg files -r .
   inside/f1
-  outside/f1
+  outside/f1 (flat !)
+  outside/ (tree !)
 Some filesystems (notably FAT/exFAT only store timestamps with 2
 seconds of precision, so by sleeping for 3 seconds, we can ensure that
 the timestamps of files stored by dirstate will appear older than the