mercurial - How to hg ignore filename with no extension? -


mercurial can configured ignore files filename have extension. example, *.txt files can ignored adding ~/.hgignore:

syntax: glob *.txt 

how can setup .hgignore file ignore files filenames have no extensions? example, files named foobar , abracadabra should ignored, foobar.cpp , abracadabra.c should tracked.

use regexp syntax instead since it's not possible glob:

syntax: regexp ^[^.]+$ 

ps: can add right after syntax: glob section


Comments

Popular posts from this blog

c# - DetailsView in ASP.Net - How to add another column on the side/add a control in each row? -

javascript - firefox memory leak -

Trying to import CSV file to a SQL Server database using asp.net and c# - can't find what I'm missing -