bogatyrjov
bogatyrjov

Reputation: 5378

How to set default hg merge tool?

Using Mercurial I'm used to merge branches using built in merge tool like this :

hg merge --tool :merge

How to set --tool :merge as default in .hgrc in order to just use hg merge?

Upvotes: 1

Views: 2726

Answers (1)

Reimer Behrends
Reimer Behrends

Reputation: 8720

You can do this by adding the following lines to your ~/.hgrc:

[ui]
merge = :merge

Upvotes: 2

Related Questions