What's the best dcvs to use with Qt ?
-
I use Git only because it seems to work slightly better than bzr, but I'm with Milot, I can't stand Linus. One pro for me is, I'm seeing more repositories out there that support git, especially in the Ruby community.
I might give mercurial a try.
Subversion seems to be a great central repository. I sometimes have a central repo with svn and use git or bzr locally. There are pros and cons to this depending on which dvcs you use.
-
A lot of Qt projects (including Qt itself) are hosted on "gitorious.org":http://gitorious.org, so I would say try git there first. It's pretty simple even for people who don't know anything about git.
This short FAQ should get you started: "FAQ":http://gitorious.org/about/faq -
I haven't used any other DVCS then git. Using SVN after getting acquainted with git is like being a prisoner in "Plato's Cave":http://en.wikipedia.org/wiki/Allegory_of_the_Cave that is let out to gaze upon the sun then bundled back into the cave and chained to the wall again.
Git plug: A great reference site for git is "git ready":http://www.gitready.com/
-
I've tried Monotone, Mercurial, Subversion and Git. Ended up with Git.
Mercurial didn't have inline branching and rebase back then.
Git feels more natural. Things getting easier day by day. Especially when you are the kind of guy who like to make last minute decision.
-
Shame on me, I have been lazy and still havent tested none of those, I just copy my current project directory and start a branch from there.
Humm, a couple a days ago just had a nasty hard disk crush, I think I'm going to loose 2 weeks of development, so it's time to start looking for a on-line repository. I think will try git... -
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.