문제

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?

도움이 되었습니까?

해결책

By default hg status only shows new and modified files. You can use the -A switch to show all files.

Run hg help status for more details.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top