All Tips
-
Debug Command Tricks
by Friedrich Kastner-Masilko on April 23Mercurial has some “hidden” debug commands that can make your day in special situations.
-
Keeping Informed with Progress
by David Harrigan on March 24Ever get the feeling that hg is holding back on you? Want to keep a tab on what it’s doing? Be progressive!
-
Merging MQ Patches with Rebase
by Steve Losh on February 11MQ patches don’t usually merge well, but you can use the rebase extension to fix that!
-
Styling Mercurial’s CLI
by Steve Losh on January 15Mercurial’s command line interface is great, but with a little bit of work we can make it even better!
-
Finding Uncommon Changesets
by Steve Losh on December 9How can you tell which changesets are included in revision
Xbut not inY? -
Handling Binary Files in a Merge
by Ryan Wilcox on November 30Mostly we deal with text, source code etc. But sometimes we put binary files into our repository and dealing with the inevitable merge conflict is not as easy as source code.
-
Reverting Dirty Files
by Ryan Wilcox on November 30You’ve made some changes you don’t want to commit, here’s how to clear them out.
-
Combining Repositories
by Steve Losh on November 17What can you do when you realize: “Oh, maybe the documentation should be in the same repository as the code?”
-
Using Convert to Decompose Your Repository
by Thomas G. Willis on November 16What if your repository is too big for its own britches, and you would rather the projects contained within be their own repositories? But darn it, what about the history?
-
Create a Git Mirror
by Steve Losh on November 9You’ve chosen Mercurial, but lots of other people prefer git. Make it easy for them to contribute to your project.
-
Save Keystrokes
by Steve Losh on October 30Some of the things you can use for aliases might surprise you.
-
Show Changesets Not Yet Pushed
by Ryan Wilcox on October 27Show what changesets you’ve created since last time you pushed.
-
Always Use Git Diffs
by Steve Losh on October 22Do you really need diffs that are compatible with a program released in 1985?
-
Free Hosting at BitBucket
by Steve Losh on October 13BitBucket will host your static website for free.
-
Open BitBucket from Bash
by Steve Losh on October 8Tired of manually firing up a web browser to go a repository’s BitBucket page?
-
Shortlog for Fun and Profit
by Steve Losh on October 7Adding an
hg shortlogalias will let you do a lot of nifty things. -
Shortcuts for Specifying Revisions
by Steve Losh on October 5You don’t always have to use a number — Mercurial has a lot of tricks up its sleeve.
-
Stay Sane with Graphlog
by Steve Losh on October 3Using
hg logworks great until you have a few branches, then it gets crazy. Graphlog can save you. -
Creating Repositories Over SSH
by Steve Losh on October 2You don’t need to log into the server to create a new repository, you can use
hg cloneto do it. -
Configuring User Auth for HTTPS
by Zachary Voase on October 1Configure Mercurial to not prompt for your password every time you push/pull via HTTPS.
-
Detecting Renames Automatically
by Steve Losh on September 30Mercurial can figure out which adds/removes are actually renames, if you ask nicely.
-
Configuring Mercurial
by Steve Losh on September 30Learn how to configure Mercurial to behave however you like.
-
The Fetch Extension
by Zachary Voase on September 29If you’ve migrated from Git and miss the auto-merging action of
git pull, this might be the extension you’re looking for. -
Quickly Show Changeset Information
by Steve Losh on September 29Want to view all the details of a changeset? Add an
hg showalias. -
Nudge — A Gentler Version of Push
by Steve Losh on September 28Add an
hg nudgealias to push only the working directory’s parent(s). -
Set Your Username
by Steve Losh on September 28Before you start working with Mercurial, you should set your username so people will know who you are.