mirror of
https://github.com/facebook/sapling.git
synced 2024-12-28 07:33:10 +03:00
sparse: rename fbsparse into sparse in tests
Reviewed By: phillco Differential Revision: D10335084 fbshipit-source-id: 91e0a17957561410e397a006f99ebf549d34e1e4
This commit is contained in:
parent
f0ac732a0b
commit
86f07601f7
@ -25,7 +25,7 @@ test bisect-sparse
|
||||
$ cd myrepo
|
||||
$ cat > .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> strip=
|
||||
> EOF
|
||||
|
||||
|
@ -45,7 +45,6 @@ New errors are not allowed. Warnings are strongly discouraged.
|
||||
$ testrepohg files . | egrep -v '^tests/' | egrep '\.(py|txt)$' | sed 's|\\|/|g' |
|
||||
> $PYTHON contrib/check-config.py
|
||||
undocumented: clone.requestfullclone (bool)
|
||||
undocumented: extensions.fbsparse (str) ["!"]
|
||||
undocumented: extensions.treemanifest (str)
|
||||
undocumented: fastlog.debug (str)
|
||||
undocumented: fastlog.enabled (bool)
|
||||
|
@ -190,7 +190,7 @@ We need to disable the SCM_SAMPLING_FILEPATH env var because arcanist may set it
|
||||
dirstate_size: 1
|
||||
$ cat >> $HGRCPATH << EOF
|
||||
> [extensions]
|
||||
> fbsparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> EOF
|
||||
$ cat >> profile_base << EOF
|
||||
> [include]
|
||||
|
@ -26,7 +26,7 @@
|
||||
searching for changes
|
||||
no changes found
|
||||
$ cd shallow
|
||||
$ printf "[extensions]\nsparse=$TESTDIR/../hgext/fbsparse.py\n" >> .hg/hgrc
|
||||
$ printf "[extensions]\nsparse=$TESTDIR/../hgext/sparse.py\n" >> .hg/hgrc
|
||||
|
||||
$ hg sparse -I x
|
||||
$ hg prefetch -r 0
|
||||
@ -79,7 +79,7 @@
|
||||
2 files updated, 0 files merged, 0 files removed, 0 files unresolved
|
||||
1 files fetched over 1 fetches - (1 misses, 0.00% hit ratio) over *s (glob)
|
||||
$ cd shallow2
|
||||
$ printf "[extensions]\nsparse=$TESTDIR/../hgext/fbsparse.py\n" >> .hg/hgrc
|
||||
$ printf "[extensions]\nsparse=$TESTDIR/../hgext/sparse.py\n" >> .hg/hgrc
|
||||
|
||||
$ hg up -q 0
|
||||
2 files fetched over 1 fetches - (2 misses, 0.00% hit ratio) over *s (glob)
|
||||
|
@ -15,7 +15,7 @@ profile.
|
||||
$ cd myrepo
|
||||
$ cat > .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> fbsparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> EOF
|
||||
|
||||
$ mkdir profiles
|
||||
|
@ -4,7 +4,7 @@ test sparse
|
||||
$ cd myrepo
|
||||
$ cat >> $HGRCPATH <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> purge=
|
||||
> strip=
|
||||
> rebase=
|
||||
|
@ -5,7 +5,7 @@ test sparse
|
||||
> ssh = python "$RUNTESTDIR/dummyssh"
|
||||
> username = nobody <no.reply@fb.com>
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> purge=
|
||||
> strip=
|
||||
> rebase=
|
||||
|
@ -2,7 +2,7 @@
|
||||
$ cd repo
|
||||
$ cat > .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> EOF
|
||||
$ mkdir show hide
|
||||
$ echo show-modify-1 > show/modify
|
||||
|
@ -5,7 +5,7 @@ test sparse interaction with other extensions
|
||||
$ cd myrepo
|
||||
$ cat > .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> strip=
|
||||
> # Remove once default-on:
|
||||
> simplecache=
|
||||
|
@ -4,7 +4,7 @@ test sparse
|
||||
$ cd myrepo
|
||||
$ cat >> $HGRCPATH <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> purge=
|
||||
> strip=
|
||||
> rebase=
|
||||
|
@ -4,7 +4,7 @@ test merging things outside of the sparse checkout
|
||||
$ cd myrepo
|
||||
$ cat > .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> EOF
|
||||
|
||||
$ echo foo > foo
|
||||
|
@ -7,7 +7,7 @@ First create a base repository with sparse enabled.
|
||||
$ cd base
|
||||
$ cat > .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> journal=
|
||||
> EOF
|
||||
|
||||
|
@ -4,7 +4,7 @@ test sparse
|
||||
$ cd myrepo
|
||||
$ cat > .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> purge=
|
||||
> strip=
|
||||
> rebase=
|
||||
@ -274,7 +274,7 @@ Test file permissions changing across a sparse profile change
|
||||
$ cd sparseperm
|
||||
$ cat > .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> EOF
|
||||
$ touch a b
|
||||
$ cat > .hgsparse <<EOF
|
||||
@ -300,7 +300,7 @@ Test profile discovery
|
||||
$ cd sparseprofiles
|
||||
$ cat > .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> strip=
|
||||
> [hint]
|
||||
> ack-hint-ack = True
|
||||
|
@ -2,7 +2,7 @@
|
||||
$ cd repo
|
||||
$ cat > .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> rebase=
|
||||
> EOF
|
||||
|
||||
|
@ -4,7 +4,7 @@ test sparse with --verbose and -T json
|
||||
$ cd myrepo
|
||||
$ cat > .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> strip=
|
||||
> EOF
|
||||
|
||||
|
@ -4,7 +4,7 @@ test sparse
|
||||
$ cd myrepo
|
||||
$ cat > .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> strip=
|
||||
> EOF
|
||||
|
||||
@ -387,7 +387,7 @@ Test non-sparse repos work while sparse is loaded
|
||||
$ cd sparserepo
|
||||
$ cat > .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> EOF
|
||||
$ cd ../nonsparserepo
|
||||
$ echo x > x && hg add x && hg commit -qAm x
|
||||
|
@ -2,7 +2,7 @@ test interaction between sparse and treemanifest (sparse file listing)
|
||||
|
||||
$ cat >> $HGRCPATH <<EOF
|
||||
> [extensions]
|
||||
> sparse=$TESTDIR/../hgext/fbsparse.py
|
||||
> sparse=$TESTDIR/../hgext/sparse.py
|
||||
> treemanifest=
|
||||
> [treemanifest]
|
||||
> treeonly = True
|
||||
|
@ -147,7 +147,7 @@ Test rebasing a stack of commits results in a pack with all the trees
|
||||
Test treemanifest with sparse enabled
|
||||
$ cat >> .hg/hgrc <<EOF
|
||||
> [extensions]
|
||||
> fbsparse=
|
||||
> sparse=
|
||||
> reset=
|
||||
> EOF
|
||||
$ hg sparse -I subdir
|
||||
|
@ -322,7 +322,7 @@ Test extension help:
|
||||
extension that makes node prefix lookup faster
|
||||
fbconduit (no help text available)
|
||||
fbhistedit extends the existing histedit functionality
|
||||
fbsparse allow sparse checkouts of the working directory
|
||||
|
||||
fixcorrupt (no help text available)
|
||||
generic_bisect
|
||||
(no help text available)
|
||||
|
@ -77,7 +77,7 @@ Fine extension: sparse
|
||||
|
||||
$ newrepo
|
||||
__del__ called
|
||||
$ setconfig extensions.fbsparse=
|
||||
$ setconfig extensions.sparse=
|
||||
$ hg log -r . -T '{manifest % "{node}"}\n'
|
||||
0000000000000000000000000000000000000000
|
||||
__del__ called
|
||||
@ -136,7 +136,6 @@ Somehow problematic: With many extensions
|
||||
> fastpartialmatch=!
|
||||
> fbconduit=
|
||||
> fbhistedit=
|
||||
> fbsparse=
|
||||
> githelp=
|
||||
> gitlookup=!
|
||||
> gitrevset=!
|
||||
@ -178,6 +177,7 @@ Somehow problematic: With many extensions
|
||||
> sigtrace=
|
||||
> simplecache=
|
||||
> smartlog=
|
||||
> sparse=
|
||||
> sshaskpass=
|
||||
> stat=
|
||||
> strip=
|
||||
|
@ -1,4 +1,4 @@
|
||||
$ enable fbsparse
|
||||
$ enable sparse
|
||||
$ newrepo
|
||||
$ hg sparse include src
|
||||
$ mkdir src
|
||||
|
Loading…
Reference in New Issue
Block a user