MidnightLightning
MidnightLightning

Reputation: 6928

Set a mercurial username/email for one project?

I can set my usual email address in my ~/.hgrc file, but is there a way to specify that for one hg project I want to be known as a different name/email (similar to git's .git/config file in the project directory overriding the ~/.gitconfig settings)?

Upvotes: 3

Views: 104

Answers (1)

Graham Borland
Graham Borland

Reputation: 60681

You can create a <repo>/.hg/hgrc file which will override settings in your ~/.hgrc.

See hg help config for more details.

Upvotes: 5

Related Questions