comparison tests/test-narrow-widen.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 5ebfb7cc6f2c
comparison
equal deleted inserted replaced
36083:9772ef9f6c04 36084:dc01484606da
1 #testcases flat tree
1 $ . "$TESTDIR/narrow-library.sh" 2 $ . "$TESTDIR/narrow-library.sh"
3
4 #if tree
5 $ cat << EOF >> $HGRCPATH
6 > [experimental]
7 > treemanifest = 1
8 > EOF
9 #endif
2 10
3 $ hg init master 11 $ hg init master
4 $ cd master 12 $ cd master
5 $ cat >> .hg/hgrc <<EOF 13 $ cat >> .hg/hgrc <<EOF
6 > [narrow] 14 > [narrow]
230 I path:d6 238 I path:d6
231 I path:d9 239 I path:d9
232 $ hg verify 240 $ hg verify
233 checking changesets 241 checking changesets
234 checking manifests 242 checking manifests
243 checking directory manifests (tree !)
235 crosschecking files in changesets and manifests 244 crosschecking files in changesets and manifests
236 checking files 245 checking files
237 4 files, 8 changesets, 4 total revisions 246 4 files, 8 changesets, 4 total revisions
238 $ hg log -T "{if(ellipsis, '...')}{node|short}: {desc}\n" 247 $ hg log -T "{if(ellipsis, '...')}{node|short}: {desc}\n"
239 ...*: add d10/f (glob) 248 ...*: add d10/f (glob)
274 Verify shouldn't claim the repo is corrupt after a widen. 283 Verify shouldn't claim the repo is corrupt after a widen.
275 284
276 $ hg verify 285 $ hg verify
277 checking changesets 286 checking changesets
278 checking manifests 287 checking manifests
288 checking directory manifests (tree !)
279 crosschecking files in changesets and manifests 289 crosschecking files in changesets and manifests
280 checking files 290 checking files
281 5 files, 9 changesets, 5 total revisions 291 5 files, 9 changesets, 5 total revisions
282 292
283 Widening preserves parent of local commit 293 Widening preserves parent of local commit