Home | Tutorials | Wiki | Issues
Ask Your Question
0

When trying to contribute a model I get "abort: no username supplied (see "hg help config")"

asked 2016-07-01 08:34:33 -0600

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

when I use the

hg commit

command it gives me that error... How do I set a username?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2016-07-01 12:46:59 -0600

chapulina gravatar image

You can either specify a user for the commit:

hg commit -u <your username>

Or set the default user in your .hgrc file so it is used for every commit. Open the file:

gedit ~/.hgrc

And add this, note that the email is actually in angled brackets <>

[ui]
username = <your username> <<your email>>
edit flag offensive delete link more

Comments

Thank you!

Blui gravatar imageBlui ( 2016-07-04 03:48:10 -0600 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2016-07-01 08:34:33 -0600

Seen: 931 times

Last updated: Jul 01 '16