Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: ddb0abe67d
Fetching contributors…

Cannot retrieve contributors at this time

74 lines (46 sloc) 1.889 kb

SublimeHg

Issue commands to Mercurial from Sublime Text.

Requirements

  • Mercurial 1.9 or above (command server)

Getting Started

Configuration

By default, the executable name for Mercurial is hg. If you need to use a different one, such as hg.bat, change the variable packages.sublime_hg.hg_exe to it in Preferences | Global Settings - User.

Example:

{
   "packages.sublime_hg.hg_exe": "hg.bat"
}

How to Use

SublimeHg can be used in two ways:

  • Through a menu: show_sublime_hg_menu command.
  • Through a command-line interface: show_sublime_hg_cli command.

Regardless of the method used to call it, SublimeHg ultimately talks to the Mercurial command server. The command-line interface is the more flexible option, but some operations might be quicker through the menu.

Normally, you will follow these steps to use SublimeHg:

  1. Open the Command Palette (Ctrl+Shift+P) and look for SublimeHg.
  2. Select option
  3. Select Mercurial command (or type in command line)

Alternatively, you can assign show_sublime_hg_cli and show_sublime_hg_menu their own key bindings.

Tab Completion

While in the command-line, top level commands will be autocompleted when you press Tab.

Jump to Line
Something went wrong with that request. Please try again.