Sublime Text 2 plugin: hg

A simple Sublime Text plugin for hg. I am calling it hg4subl. Its completely inspired by sublime-text-2-git which I use.

The plugin can upgrade itself unlike git version :) Tools -> Hg -> hg4subl updates


On Linux and *nix platforms:

cd ~/.config/sublime-text-2/Package
hg clone http://code.thejeshgn.com/hg4subl

The "hg" binary can be specified with the setting "hg4subl_hg". For example by putting this in your user settings:

On Linux

"hg4subl_hg": "/opt/local/bin/hg"

on Mac

"hg4subl_hg": "/usr/local/bin/hg"

Not tested on other envs

For updating to latest version:

Tools - Hg - hg4subl updates

What's supported?

  • Pull
  • Fetch
  • Push
  • Status
  • Pull
  • Change Branch
  • Diff All
  • Log All
  • Quick Commit
  • Annotate
  • Add current file
  • Remove current file
  • Diff current file
  • Log current file
  • Choose file to add
  • Custom Command
  • Update hg4subl
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.