• Login
sketchucation logo sketchucation
  • Login
🤑 SketchPlus 1.3 | 44 Tools for $15 until June 20th Buy Now

[PDF] Git vs Mercurial code repositories

Scheduled Pinned Locked Moved Developers' Forum
4 Posts 2 Posters 732 Views
Loading More Posts
  • 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.
  • D Offline
    Dan Rathbun
    last edited by Dan Rathbun 4 Aug 2012, 17:43

    BitBucket supports both, but not at the same time apparently.

    I have started with a Git repo, and it works OK for me, but Aerilius is having problems pushing updates.

    What are the advantages of Hg over Git ?? (ThomThom and Jim I know you both favor Hg.)


    [PDF] Mercurial: The Definitive Guide
    hgbook.pdf
    In regard to the repo used for Open-Source projects:

    See Chapter 1: How did we get here?

    Pay attention to Section 1.5: Why choose Mercurial?

    .. and compared to Git

    see Section 1.6.2 Git


    ➡ Tip: Create a shortcut to init Pageant and load Hg Workbench


    I'm not here much anymore.

    1 Reply Last reply Reply Quote 0
    • T Offline
      thomthom
      last edited by 5 Aug 2012, 07:32

      I don't know the advantages. I used Hg because it was what BitBucket used when I first started. And I used BitBucket because I wanted the free private repos. (Wasn't sure how the service was so wasn't ready to pay for an account.)

      But GitHub has a much nicer website, and their GUI clients on both Win and OSX is very nice and clean. (However, rather simple in their features still - while TortoiseHq is a very nice tool.)
      When contemplating on whether to switch I didn't immediately find a massive difference - think tagging was one of the few features I found missing in Git. (Though, I didn't get time to dig too deep into the differences - I created one project in Git, just so I could experience the difference, but I've not worked on that project for a while.)
      To me it's a matter of the website and GUI client. I find TortoiseHq is the best client I've found so far, but it is Hq (there are Git variants, but that needs compiling as the "easy" way to install. There are some other plugins, but I didn't find them easy either...) BitBucket website is very simple and lacking many very nice features GitHub has.

      Thomas Thomassen — SketchUp Monkey & Coding addict
      List of my plugins and link to the CookieWare fund

      1 Reply Last reply Reply Quote 0
      • D Offline
        Dan Rathbun
        last edited by 21 Aug 2012, 19:11

        Hg Tip: Create a shortcut to init Pageant and load Hg Workbench

        Prerequisites:

        • The subfolder in your User profile where you saved your private ssh key.
        • The name of the private key file.
          You will use this in the "Target" field for the shortcut Properties.
          Assemble a Pageant command path like this (including quotes and a space at the end, after the -c):

        %(#8000BF)["C:\Program Files\TortoiseHg\Pageant.exe" "%USERPROFILE%/.ssh/default_rsa.ppk" -c]

        Change the relative path ( .ssh/default_rsa.ppk ) shown above, with your actual path, and actual private key filename.

        To create the shortcut:

        1. Explore to your TortoiseHg program directory.
        2. Point to thgw.exe and right-click the mouse.
        3. Choose "Create Shortcut" from the popup context menu.
          (A new shortcut is created in this directory.)
        4. Rename the newly made shortcut file to "Start TortoiseHg"
        5. Right-click this shortcut file with the mouse, and choose "Properties"
          (The "Target" field will be selected.)
        6. Press the "Home" key on the keyboard, to position the cursor at the start of the field.
        7. Paste in the Pageant command string at the beginning of the Target field.
          When done it should look like this (or similar):

        %(#8000BF)["C:\Program Files\TortoiseHg\Pageant.exe" "%USERPROFILE%/.ssh/default_rsa.ppk" -c "C:\Program Files\TortoiseHg\thgw.exe"]

        You can now copy or move this shortcut file, to the Desktop, into the Start Menus, or wherever you wish.

        I'm not here much anymore.

        1 Reply Last reply Reply Quote 0
        • D Offline
          Dan Rathbun
          last edited by 14 Nov 2012, 16:48

          UPDATED TOPIC - added PDF in first post.

          I'm not here much anymore.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post
          Buy SketchPlus
          Buy SUbD
          Buy WrapR
          Buy eBook
          Buy Modelur
          Buy Vertex Tools
          Buy SketchCuisine
          Buy FormFonts

          Advertisement