I have added repository and at the time of commit I get error as
error: abort: no username supplied (see \"hg help config\")
I am not ge
run hg config --edit ( tested it in hg 3.1 both on linux debian and windows) it will create (if not exists) and open a file with text:
# example config (see "hg help config" for more info)
[ui]
# name and email, e.g.
# username = Jane Doe
username =
[extensions]
# uncomment these lines to enable some popular extensions
# (see "hg help extensions" for more info)
# pager =
# progress =
# color =
fill "username" field and save the file