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 1K
  • OS X 1K
  • Linux 1K
Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3
Windows 0 3 0 0 0 0 0 0 2 0 0 0 0 0 1 0 0 0 0 4 2 0 2 1 1 0 3 5 0 0 2 0 0 4 3 0 0 0 0 0 0 0 0 0 0 0
OS X 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 0 0 2 0 1 0 0 0 0 2 5 0 2 1 0 0 0 2 0 0 1 1
Linux 0 0 0 0 0 0 1 0 3 0 0 3 0 0 4 1 0 1 0 0 0 0 0 0 1 0 1 1 1 1 0 0 0 0 1 1 1 1 0 1 1 0 0 2 0 0

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.