[PDF] Git vs Mercurial code repositories
-
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 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. -
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:
- Explore to your TortoiseHg program directory.
- Point to thgw.exe and right-click the mouse.
- Choose "Create Shortcut" from the popup context menu.
(A new shortcut is created in this directory.) - Rename the newly made shortcut file to "Start TortoiseHg"
- Right-click this shortcut file with the mouse, and choose "Properties"
(The "Target" field will be selected.) - Press the "Home" key on the keyboard, to position the cursor at the start of the field.
- 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.
-
UPDATED TOPIC - added PDF in first post.
Advertisement