Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. General talk
  3. The Lounge
  4. What's the best dcvs to use with Qt ?
QtWS25 Last Chance

What's the best dcvs to use with Qt ?

Scheduled Pinned Locked Moved The Lounge
28 Posts 20 Posters 18.0k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    john_god
    wrote on last edited by
    #18

    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...

    1 Reply Last reply
    0
    • F Offline
      F Offline
      flywheel
      wrote on last edited by
      #19

      I am simply unable to function with Git - it is a mutual hate/hate relationship.

      Mercurial on the other hand worked almost out-of-the-box for me and it works fine in Qt-Creator to.

      Live long and prosper...

      1 Reply Last reply
      0
      • F Offline
        F Offline
        Franzk
        wrote on last edited by
        #20

        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.

        "Horse sense is the thing a horse has which keeps it from betting on people." -- W.C. Fields

        http://www.catb.org/~esr/faqs/smart-questions.html

        1 Reply Last reply
        0
        • mzimmersM Offline
          mzimmersM Offline
          mzimmers
          wrote on last edited by
          #21

          I suppose it's about time for me to adopt a CM tool. I'll be the sole developer on this project, but I want to "do it right." Do we have a tutorial anywhere on the Mercurial integration?

          Thanks.

          1 Reply Last reply
          0
          • G Offline
            G Offline
            goetz
            wrote on last edited by
            #22

            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.

            http://www.catb.org/~esr/faqs/smart-questions.html

            1 Reply Last reply
            0
            • mzimmersM Offline
              mzimmersM Offline
              mzimmers
              wrote on last edited by
              #23

              Thanks...I tried creating a repository (from withing Creator), and it failed, so I figured I'd better start doing some reading.

              1 Reply Last reply
              0
              • G Offline
                G Offline
                goetz
                wrote on last edited by
                #24

                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...

                http://www.catb.org/~esr/faqs/smart-questions.html

                1 Reply Last reply
                0
                • mzimmersM Offline
                  mzimmersM Offline
                  mzimmers
                  wrote on last edited by
                  #25

                  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?

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    goetz
                    wrote on last edited by
                    #26

                    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.

                    http://www.catb.org/~esr/faqs/smart-questions.html

                    1 Reply Last reply
                    0
                    • mzimmersM Offline
                      mzimmersM Offline
                      mzimmers
                      wrote on last edited by
                      #27

                      Actually, I downloaded it from a site I found through google. The repository created successfully this time, so I'll assume the other stuff will work. Thanks, Volker.

                      1 Reply Last reply
                      0
                      • G Offline
                        G Offline
                        goetz
                        wrote on last edited by
                        #28

                        That's ok too, of course.

                        Feel free to ask further questions, if you have, possibly on a new thread in the Lounge for example, as Mercurial is not so deeply Qt-related :-)

                        http://www.catb.org/~esr/faqs/smart-questions.html

                        1 Reply Last reply
                        0

                        • Login

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users
                        • Groups
                        • Search
                        • Get Qt Extensions
                        • Unsolved