forked from facebook/sapling
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests: create an EdenFS-Sapling-Mononoke e2e test
Reviewed By: quark-zju Differential Revision: D64330209 fbshipit-source-id: 5fdabc4641e64e481491b606f0c8a84654835f58
- Loading branch information
1 parent
abcf372
commit 60f24c9
Showing
2 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#require mononoke | ||
#require eden | ||
|
||
$ setconfig checkout.use-rust=true | ||
$ setconfig clone.use-rust=true | ||
$ setconfig experimental.nativecheckout=true | ||
|
||
$ newclientrepo repo1 | ||
$ drawdag <<'EOS' | ||
> A # A/foo = foo | ||
> # A/bar = bar | ||
> EOS | ||
$ hg push -r $A --to master --create -q | ||
$ newclientrepo repo2 "mononoke://$(mononoke_address)/repo1" | ||
$ cd "$TESTTMP/repo2" | ||
$ eden list | ||
$TESTTMP/repo1 | ||
$TESTTMP/repo2 | ||
|
||
|
||
|
||
Quick check for making sure this test is capable of using EdenFS | ||
$ ls -a $TESTTMP/.eden-backing-repos | ||
repo1 | ||
|
||
$ ls -a | ||
.eden | ||
.hg | ||
A | ||
bar | ||
foo |