mirror of
https://github.com/facebook/sapling.git
synced 2024-12-26 22:47:26 +03:00
4f8c30b04e
Summary: These now pass Reviewed By: singhsrb Differential Revision: D19785175 fbshipit-source-id: bf92757e3fe0753e1b61ffddfd30a37fb40a642f
12 lines
251 B
Perl
12 lines
251 B
Perl
$ enable sparse
|
|
$ newrepo
|
|
$ hg sparse include src
|
|
$ mkdir src
|
|
$ touch src/x
|
|
$ hg commit -m x -A src/x
|
|
|
|
The root directory ("") should not be ignored
|
|
|
|
$ hg debugshell -c 'ui.write("%s\n" % str(repo.dirstate._ignore.visitdir("")))'
|
|
True
|