blog banner


Oct 25, hg clone mercurial-repo real URL is hg/ cd project/ $ hg init # A basic tutorial. Feb 24, Joel Spolsky has put together an extensive Mercurial tutorial with lots of examples and a humorous approach. “Finally, if you haven’t collapsed. Feb 24, If this is advertising, I want more of it. As an SVN curmudgeon, the first part of this tutorial finally persuaded me that I really, really need to give.

Author: Daigrel Akik
Country: Mayotte
Language: English (Spanish)
Genre: Personal Growth
Published (Last): 20 August 2012
Pages: 190
PDF File Size: 1.67 Mb
ePub File Size: 19.70 Mb
ISBN: 409-6-11331-435-3
Downloads: 86083
Price: Free* [*Free Regsitration Required]
Uploader: Vushura

In contrast, Mercurial’s strict “every merge is an explicit commit” principle saved me from a lot of problems. Those ate precisely the type of documents that non-developers need. Note Merges can be safely restarted if necessary.

He said he spends ten times more time on building than on managing revision control. The end tutoiral is that you basically have to hand-edit each file into the final merge state you need it to be in, entirely defeating the very reason you use source mercuroal tooling in the first place. My understanding, as a DVCS virgin, is that you commit far more often to your local repository than with Subversion, and so Hg can more intelligently merge things.

I’m reusing things I know like pointing: Nobody would notice except people that had an agenda against git hg supporters, svn etc. The GUI is a bit fractured in terms of what it can do but the command line is competent.


They don’t need and don’t want to manage branches. Warning It is dangerous to manually edit the files in.

Version control doesn’t even come close to hitting the top of that list. Share the repository 4. Alternatively, is there a similar introduction to git?

Hg Init: a Mercurial tutorial

Casting this in the form of a real world example, consider a “main” branch with two dev. Just trying to give some context and justification.

I’ve just finished the introduction part and there is one thing he got wrong. It used to be only for experts in arcana, but today it is much more user friendly. It’s much easier to spot the differences when comparing text for example, if the diff program uses different background colors and foreground colors, tooltips and other various visual hints to help see changes.

With Hg, the history is an immutable collection that can only grow; existing history is set in stone and can’t be altered.

Every developer will need to merge his changes forwards and backwards mercuria time to time.

The git command line leaves much tjtorial be desired; hg was far more intuitive. However, with mq and the record extension you can do the same things as with the staging area.


Hg Init: a Mercurial tutorial by Joel Spolsky | Hacker News

Don’t get me wrong. I then thought, “Fuck it, let’s try Mercurial” and stumbled upon hginit. Since we’re discussing this, is there any equivalent to git rebase –interactive? If you don’t need those things, then by all means, use the open source version.

Hg Init: a Mercurial tutorial []

I spend at least an order of magnitude, if not several, more time with each of those things than I do with a goddamn version control utility.

Rebasing is an essential activity when maintaining your local repository, but it can also be confusing to non-technical people. Click the OK button to save the changes you have made and close the settings dialog. I went to the island of Mauritius, and approached the dodo bird.

Quick Start

I know it’s doable with mq, but you have to know to mq everything before the fact rather than after. Git has the expected heuristics to decide whether a file is binary or text, along with the ability to add a hint if you need to. To clone your repository to a shared tutoroal I am not sure what the solution is.