I am working on setup of my hg for django projects on my mac.
I need to do two things :
- set some mechanism to save my password and use it whenever I use repo again
I've tried to do that by adding keyring extension to my .hg/hgrc file like this :
[extensions]
mercurial_keyring =
but it doesn't work. I am getting such an error :
*** failed to import extension mercurial_keyring: No module named mercurial_keyring
Should I install that extension with pip / easy_install before?
Because on Windows using HgTortoise I modified my hgrd file, added those two lines and it works just fine.
I thought it would do the work on mac os x as well.
- set some default merge-tool, which would be launched whenever I use hg merge command and there would be some confilicts to resolve
How can I do that?
Here is my current hg files configuration :
~/.hgrc
[ui]
username = johny bravo <johny.bravo@gmail.com>
.../myproject/.hg/hgrc
[paths]
default = https://bitbucket.org/johnybravo/firstdjango
[extensions]
mercurial_keyring =
According to some tutorials and articles about hg I'd read before that should do the work.
But doesn't work in my case.
Btw. Is there any nice external merge tool for hg? Vimdiff is terrible for me...
I also use SourceTree for version control sometimes, but it seems it doesn't contain any merge tool.
Is there any tool that looks similar to SourceTree? ( nice, readable, colorful GUI ).
A perfect merge-tool would be one compatibile both with SourceTree and hg merge from command line so I coulde use them alternately.