Advanced Tips
-
Debug Command Tricks
by Friedrich Kastner-Masilko on April 23Mercurial has some “hidden” debug commands that can make your day in special situations.
-
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!
-
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.
-
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.
-
Open BitBucket from Bash
by Steve Losh on October 8Tired of manually firing up a web browser to go a repository’s BitBucket page?
-
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 clone
to 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.
-
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. -
Nudge — A Gentler Version of Push
by Steve Losh on September 28Add an
hg nudge
alias to push only the working directory’s parent(s).