Mercurial HGIgnore File

I could not figure out why Mercurial was not using my hgignore file. I didn’t realize that it needed to be declared in the .hgrc file. Adding

ignore = ~/.hgignore_global

to the [ui] section fixed it.

Thanks goes to we are all robots.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s