What's the best dcvs to use with Qt ?
-
There's a nice comparison between git and mercurial on "some blog somewhere":http://importantshock.wordpress.com/2008/08/07/git-vs-mercurial/. It basically states that git is MacGuyver, while Mercurial is James Bond. Just read it for some more.
-
The mercurial integration of Qt Creator should be straightforward, it's the command line tools with some nice GUI around it. First, you need to get accustomed to mercurial as such :-)
Best is to start with the Mercurial docs and play the examples on the command line.
-
What was the error message?
And depending on how and where Mercurial is installed, it might be necessary to tell Qt Creator the path (Preferences / Version control / Mercurial; enter the path to hg in the top most field and your Name and Email in that below, unfortunately Creator seems not to pick up the default values...
-
Well, the error message I was alluding to was "A version control repository could not be created in (my directory)," but...
...I just looked at the messages in the version control window, and it says it can't find hg, so I think you're right. In fact, I'm not convinced it's installed on my system. I assumed because the create command in the Tools->Mercurial menu was active, it was installed; not necessarily so?
-
Nope, unfortunately the menus are not disabled then.
Mercurial is not installed by default on a Mac OS X box (as opposed to subversion). You can install it easily with
@
sudo easy_install -U mercurial
@You can use this command too, to upgrade mercurial, once a new version is out.
hg is then installed in /usr/local/bin, thus you should enter /usr/local/bin/hg in the config box.