Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2011
  • Last Modified:

Cannot find .hgrc for Mercurial configuration

I just installed Mercurial, but running debuginstall at the end produces one error:
Checking encoding (UTF8)...
Checking extensions...
Checking templates...
Checking patch...
Checking commit editor...
Checking username...
 no username supplied (see "hg help config")
 (specify a username in your .hgrc file)
1 problems detected, please check your install!


However, running $ sudo find . -name "*.hgrc" produces zero results.

Help!
0
Smittles
Asked:
Smittles
  • 2
1 Solution
 
AJViennaCommented:
hg uses the ~/.hgrc in your home directory. You just have to create one there which contains a section with your user name and other configuration options you need.
0
 
SmittlesAuthor Commented:
Oh, so it's user-created, and not automatically installed?

Let me give that a try...
0
 
SmittlesAuthor Commented:
bash-3.2# hg debuginstall
Checking encoding (UTF8)...
Checking extensions...
Checking templates...
Checking patch...
Checking commit editor...
Checking username...
No problems detected


Thanks, this worked!
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now