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

Mercurial for Sublime

by Daniel Siepmann ST2/ST3 Missing

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