1

For my mecurial ignore file I want to select all the folders that start with dataset in my project folder with with one 'glob statement'.

Example project folder:

my_project_folder/
   dataset1/
   dataset2/
   dataset3/
   code.py

I tried dataset*/ but that selects nothing. What would be the right statement?

Mat
  • 51,578
  • 10
  • 158
  • 140
Framester
  • 1,633
  • 4
  • 18
  • 17

1 Answers1

4
syntax: regexp
/dataset.*/
^/dataset.*/

See hgignore for explanation of the syntax.

Anthon
  • 78,313
  • 42
  • 165
  • 222
aecolley
  • 2,117
  • 14
  • 13