ktm
ktm

Reputation: 6085

How to commit and push projects in mercurial using MacOSx

Hi friends how to commit and push projects in bitbucket using MacOSx

$ hg commit
abort: no username supplied

In windows hg clients it ask username and password in pop up windows. How does this hapen on macosx? I did supply commands to terminal but no luck.

Upvotes: 2

Views: 3295

Answers (2)

oguzalb
oguzalb

Reputation: 438

vim .hg/.hgrc

Then type

[ui]
username = YOUR_NAME <YOUR_MAIL>

to it. then go back to the main directory and push it.

Upvotes: 3

halfdan
halfdan

Reputation: 34214

You can use the .hgrc in order to configure your local Mercurial client. Setting a username for commits is described here.

Upvotes: 2

Related Questions