I could have sworn there was a way to keep a local ignore file in an hg repo, i.e. a file similar in function to .hgignore, but not checked into the repo. This could be used to ignore changes to an IDE project file if different IDEs are being used, for example. I'm having trouble finding how it's done. Does anyone recall the details?
相关问题
- Mercurial compared to private branches in SVN
- Using Subversion and SourceSafe at the same time?
- How to abandon all Mercurial changes that haven
- subversion merge - “has different repository root
- Windows permissions on a directory: Mercurial - hg
相关文章
- Mercurial Commit Charts / Graphs [closed]
- What is the tortoisehg gui equivalent of doing “hg
- How to use Mercurial from Visual Studio 2010?
- SSIS solution on GIT?
- Is it possible to do a “destroy history” in TFS?
- Is there a version control system abstraction for
- Get Android library module version number from ins
- Sprockets::CircularDependencyError application.js
This is what I was looking for.
In version 3.5, setting the
ignore
property under theui
section changes the global ignore file. To add additional files to be ignored, follow the advice of Jeroen Dierckx and set theignore.local
property to get the same effect as adding to.git/info/exclude
in agit
repository.Just make an .hgignore file and add .hgignore to the .hgignore file itself.