ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Mercurial for Sublime

by Daniel Siepmann ST2/ST3

Sublime Text plugin for Mercurial (hg) the VCS. A fork of "hg4subl", which is pretty cool but lacks some features.

Labels vcs, hg

Details

Installs

  • Total 4K
  • Win 2K
  • OS X 1K
  • Linux 1K
Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6
Windows 0 0 0 2 1 0 0 0 0 0 1 0 1 0 1 0 0 0 1 1 1 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 1 1 1 1 0 0 0 0 0
OS X 0 0 0 0 0 1 0 1 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 1 0 0 0 2 1 1 0 0 2 0 1
Linux 0 0 1 0 1 1 0 1 0 1 1 0 0 0 0 1 0 2 1 0 0 1 0 0 1 2 0 2 0 0 0 0 3 1 3 0 0 0 0 0 0 1 1 0 0 1

Readme

Source
bitbucket.​org

Sublime Text plugin for Mercurial (hg) the VCS.

A fork of “hg4subl”, which is pretty cool but lacks some features.

Project status

I'm sorry but as I no longer use Sublime Text as my editor but Vim, I'll no longer process the project. If something will break in future Sublime Text versions, or you have a feature requests or other bugs, please create issues on Bitbucket as mentioned bellow.

I'll still take a look at them and provide feedback and perhaps implement them.

Thanks for the support and for using my plugin.

What's supported?

  • Sublime Text 2 (Without further development, but still last running version is available.)
  • Sublime Text 3
  • Modific by gornostal

I could not test the newest Version on Windows 32Bit and 64Bit. If you have any issues please send me a bug report containing the error. Same for Linux. Thanks for your help.

Mercurial

  • Open user hgrc (tested with Mac OS X) Will open ~/.hgrc if any.
  • Open user hgignore (tested with Mac OS X) Will open ~/.hgignore if any.

Repository

  • Open local hgrc Will open the .hg/hgrc if any.
  • Open local hgignore Will open the .hg/hgignore if any.

Remote

  • Pull
  • Fetch
  • Push

Local Manage

  • Update
  • Status
  • Branch
    • Change Branch
    • Create Branch
    • Close Branch
  • Diff All
  • Log All
  • Quick Commit
  • Diff current file
  • Log current file
  • Blame current file
  • Shelving

Local Filesystem

  • Add current file
  • Choose files to add
  • Move current file
  • Remove current file
  • Choose files to remove
  • Revert current file
  • Choose files to revert
  • Revert all files

Others

  • Custom Command
  • Show Status of Branch, Revision and Tag in StatusBar
  • Configuration following convention, available through Preferences > Package Settings > Mercurial for Sublime.

How to get involved

You can either fork and submit pull requests, send me patches or post ideas and issues.

Installation

Unix like systems

The CLI way

cd ~/.config/sublime-text-2/Package
hg clone ssh://hg@bitbucket.org/DanielSiepmann/mercurial-for-sublime "Mercurial for Sublime"

Mac

The CLI way cd ~/Library/Application Support/Sublime Text 2/Packages hg clone ssh://hg@bitbucket.org/DanielSiepmann/mercurial-for-sublime “Mercurial for Sublime”

As a GUI for Mac you can use the nice and free SourceTree.

Windows

On Windows you can do the same way as for Unix. As a GUI for Windows you can use the free TortoiseHg or SourceTree.

Configuration

Open the delivered configuration file and copy it to your user folder. Perhaps it's easier to open both files from Preferences > Package Settings > Mercurial for Sublime.

Each option is documented inside the delivered file.