mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
b489f6b1c8
Summary: Remove packfile-specific parts of tests and modify them to test without depending on packfiles where possible. Currently debugindexedlogdatastore and debugindexedloghistorystore appear to be broken, and debugdumpindexedlog just dumps the raw indexedlog contents, without any semantic information, so for the time being I've simply removed most packfile inspection. Reviewed By: DurhamG Differential Revision: D29099241 fbshipit-source-id: 86c4f9c83520374560587b8bec5c569d9c5c6510
44 lines
1.2 KiB
Perl
44 lines
1.2 KiB
Perl
#chg-compatible
|
|
|
|
$ . "$TESTDIR/library.sh"
|
|
|
|
$ newserver master
|
|
|
|
$ clone master shallow --noupdate
|
|
$ cd shallow
|
|
$ setconfig remotefilelog.useruststore=True
|
|
$ setconfig treemanifest.useruststore=True
|
|
|
|
$ echo x > x
|
|
$ hg commit -qAm x
|
|
$ ls_l .hg/store/indexedlogdatastore | grep log
|
|
* 60 log (glob)
|
|
$ ls_l .hg/store/indexedloghistorystore | grep log
|
|
* 127 log (glob)
|
|
$ ls_l .hg/store/manifests/indexedlogdatastore | grep log
|
|
* 101 log (glob)
|
|
$ ls_l .hg/store/manifests/indexedloghistorystore | grep log
|
|
* 124 log (glob)
|
|
|
|
$ echo y > y
|
|
$ hg commit -qAm y
|
|
$ ls_l .hg/store/indexedlogdatastore | grep log
|
|
* 108 log (glob)
|
|
$ ls_l .hg/store/indexedloghistorystore | grep log
|
|
* 242 log (glob)
|
|
$ ls_l .hg/store/manifests/indexedlogdatastore | grep log
|
|
* 237 log (glob)
|
|
$ ls_l .hg/store/manifests/indexedloghistorystore | grep log
|
|
* 236 log (glob)
|
|
|
|
$ echo z > z
|
|
$ hg commit -qAm z
|
|
$ ls_l .hg/store/indexedlogdatastore | grep log
|
|
* 156 log (glob)
|
|
$ ls_l .hg/store/indexedloghistorystore | grep log
|
|
* 357 log (glob)
|
|
$ ls_l .hg/store/manifests/indexedlogdatastore | grep log
|
|
* 417 log (glob)
|
|
$ ls_l .hg/store/manifests/indexedloghistorystore | grep log
|
|
* 348 log (glob)
|