mercurial - hg grep --exclude pattern -


how specify --exclude/-x parameter when using hg grep?

i've tried every kind of bare , pattern syntax i've ever come across (including few regex dialects know), can't work simple example.

i'm interested in filtering out binary files , minified javascript files (*.min.js) search.

i'm on windows, if that's pertinent.

see hg patterns. default, pattern treated shell glob.

if want use regular expression, can try this:

hg grep -x "re:.*\.min\.js$" <search term> 

Comments

Popular posts from this blog

django - How can I change user group without delete record -

java - Need to add SOAP security token -

java - EclipseLink JPA Object is not a known entity type -