Ziwdigforbugs
Ziwdigforbugs

Reputation: 1214

How to ignore these path patterns with hg ignore of mercurial

I am quiet novice to Mercurial and I would like to ignore all files included in the followinf patterns:

folder1/folder2/folder3/Res1 folder1/folder2/folder3/Res2 folder1/folder2/folder3/Res3

I have used regex function as follow bu this did not work, any helo please :

syntax: regexp
folder1/folder2/folder3/Res*

Thanks Zied

Upvotes: 0

Views: 117

Answers (1)

Christophe Muller
Christophe Muller

Reputation: 5090

You are sort of mixing glob and regexp style here. The following should work:

syntax: regexp
folder1/folder2/folder3/Res.+

Upvotes: 1

Related Questions