Is it normal? So you just need to add \.hgignore
to the list to ignore itself?
相关问题
- Mercurial compared to private branches in SVN
- How to abandon all Mercurial changes that haven
- Windows permissions on a directory: Mercurial - hg
- hg shelve installed but hg: unknown command 'u
- Reverting “discard all changes” merge effect
相关文章
- Mercurial Commit Charts / Graphs [closed]
- What is the tortoisehg gui equivalent of doing “hg
- How to use Mercurial from Visual Studio 2010?
- Is there a version control system abstraction for
- Mercurial discard local changes of a file or group
- Mercurial .hgignore Negative Lookahead
- How to see a mercurial difference
- Commiting Mercurial (Hg) branch to GitHub
Just to supplement Borealid's answer:
?
inhg status
means that the file is in the working directory, but not tracked. You usually see it in one of two situations:hg add
ed it yet.In #1, you'll want to add the file or file type to
.hgignore
. In #2, you want tohg add
the file. In the case of.hgignore
, it's #2.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, dohg add .hgignore; hg commit
.Bottom line:
.hgignore
is tracked like any other file in the repository.