Skip to content

Commit

Permalink
edensparse: add failing test for debugsparsematch
Browse files Browse the repository at this point in the history
Summary: The sparse debugging commands like debugsparsematch aren't working under edensparse. Add a failing test.

Reviewed By: sggutier

Differential Revision: D56164264

fbshipit-source-id: fbe8399921b5ddaffae62a1b5cb5b919a9865273
  • Loading branch information
muirdm authored and facebook-github-bot committed Apr 16, 2024
1 parent f610a1f commit 31a7400
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions eden/scm/tests/test-eden-sparse.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#debugruntest-compatible

#require eden

$ eagerepo
$ setconfig clone.use-rust=true

$ newrepo server
$ echo foo > included
$ echo foo > excluded
$ echo path:included > sparse
$ touch eden-sparse
$ hg commit -Aqm a

$ cd
$ hg clone -q --eden test:server client --config clone.eden-sparse-filter=eden-sparse
$ cd client

FIXME Allow adhoc use of sparse commands to debug sparse profiles:
$ hg debugsparsematch -q --sparse-profile=sparse excluded --config extensions.sparse=
excluded

0 comments on commit 31a7400

Please sign in to comment.