Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

funny that when .hgignore is added for Mercurial, this file itself shows up as "?" in hg status?

Is it normal? So you just need to add \.hgignore to the list to ignore itself?

like image 539
nonopolarity Avatar asked Dec 07 '22 02:12

nonopolarity


1 Answers

Yes, but you don't want to ignore the .hgignore file. When a new person checks out your repository, don't you want them to get your ignored-files list? Instead, do hg add .hgignore; hg commit.

Bottom line: .hgignore is tracked like any other file in the repository.

like image 199
Borealid Avatar answered Dec 28 '22 23:12

Borealid