So I am new to Mercurial. I am trying to ignore all .class files and .orig files. I am using Windows 8.1
I created a .hgignore file and put the following inside:
#this is .hgignore
syntax: glob
*.class
*.orig
#end of file
When I type hg status I get
? .hgignore
Someone said I need to save in ANSI so I opened it in notepad and saved it in ANSI format and as All Types for my type option.
I am not sure if there is a syntax problem or something else. The file .hgignore is in the same folder as the .hg folder. So the path would look like:
\P1\.hgignore
\P1\.hg
Any ideas?
hg status
only shows.hgignore
so it seems to be working fine. Are you looking for a way to ignore the.hgignore
file itself? – David Levesque-A
switch to show all files. Runhg help status
for more details. – David Levesque