mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
0780682c9c
Summary: SSLLockTypes disappeared again. Reviewed By: HarveyHunt Differential Revision: D13176693 fbshipit-source-id: 30acd08cc07726e891f83b25837ddfbb4e4b9c86
54 lines
968 B
Perl
54 lines
968 B
Perl
$ . $TESTDIR/library.sh
|
|
|
|
setup configuration
|
|
$ setup_config_repo
|
|
$ cd $TESTTMP
|
|
|
|
setup common configuration
|
|
$ cat >> $HGRCPATH <<EOF
|
|
> [ui]
|
|
> ssh="$DUMMYSSH"
|
|
> EOF
|
|
|
|
|
|
setup repo
|
|
|
|
$ hg init repo-hg
|
|
|
|
Init treemanifest and remotefilelog
|
|
$ cd repo-hg
|
|
$ cat >> .hg/hgrc <<EOF
|
|
> [extensions]
|
|
> treemanifest=
|
|
> remotefilelog=
|
|
> [treemanifest]
|
|
> server=True
|
|
> [remotefilelog]
|
|
> server=True
|
|
> shallowtrees=True
|
|
> EOF
|
|
|
|
$ touch a
|
|
$ hg add a
|
|
$ hg ci -ma
|
|
$ hg log
|
|
changeset: 0:3903775176ed
|
|
tag: tip
|
|
user: test
|
|
date: Thu Jan 01 00:00:00 1970 +0000
|
|
summary: a
|
|
(re)
|
|
$ hg log -r. -T '{node}\n'
|
|
3903775176ed42b1458a6281db4a0ccf4d9f287a
|
|
|
|
blobimport
|
|
|
|
$ cd ..
|
|
$ blobimport rocksdb repo-hg/.hg repo
|
|
|
|
smoke test to ensure bonsai_verify works
|
|
|
|
$ bonsai_verify repo 3903775176ed42b1458a6281db4a0ccf4d9f287a
|
|
summary: (re)
|
|
* INFO 100.00% valid, total: 1, valid: 1, errors: 0, ignored: 0 (glob)
|