Home Download Buy Blog Forum Support

Sublime SVN

Sublime SVN

Postby wbond on Mon Mar 12, 2012 7:10 pm

After using Sublime for a while at work, I decided it could use a nice solution for working with SVN. I spent a couple of months building and refining a solution that not only provides SVN functionality to Sublime, but really tries to make SVN more usable. The product of this is Sublime SVN:

http://wbond.net/sublime_packages/svn

It is another commercial plugin, with a non-time-limited, fully-functionality evaluation mode.

Some points I am particularly proud of:

  • File pick lists for commit, add and delete commands
  • Multi-tier command palette so common commands are at your finger tips, but more advanced commands don't clutter the the primary palette
  • Background processing of file statuses for context-sensitive command display
  • Fully cross platform
  • Background checking of available remote revisions, with indicators in SVN buffers, and in view status area
  • Custom diff command that pops up the log to help you pick what revisions to diff
  • Ability to edit the last command to tweak arguments, or run completely custom commands
  • Customizable default checkout URL and local paths
  • A bunch of other little UI elements, such as syntax highlighting
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: Sublime SVN

Postby PhilippSchaffrath on Mon Mar 12, 2012 7:21 pm

Sounds cool, definetly gonna give it a try!

Btw. when do you check the package_control pull requests?
PhilippSchaffrath
 
Posts: 17
Joined: Sat Mar 10, 2012 1:24 pm

Re: Sublime SVN

Postby wbond on Mon Mar 12, 2012 7:27 pm

PhilippSchaffrath wrote:Btw. when do you check the package_control pull requests?


I usually pull in requests every few days. I try to keep up with it as best as possible, but things have been kinda busy recently with Package Control SSL issues and a server transition taking up some of my time. I should be able to spend some time tonight reviewing the submissions and merging them in.

I originally had the intention of getting the SVN plugin launched a few weeks ago, but things always take longer than expected. :-)
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: Sublime SVN

Postby pete340 on Wed Mar 14, 2012 9:11 pm

I installed the package. Thanks! But I'm missing something. If I select svn:status from the Command Palette I get a tab with the name "SVN" and a list of files with non-trivial status. So far, so good. Then I right-click in that list and get a popup menu; I select SVN|commit, and I get new text with instructions on how to select and commit my files:

Type commit message here…

================================================================================
UNREGISTERED: Please visit http://sublime.wbond.net
Working copy: /Users/petebecker/archive/devel/floatingpoint/source
Remote status: updates available
Command: svn commit

Instructions:
1. Enter commit message above the line.
2. Pick files below using y to select, n to deselect, space to toggle.
Picking works with multiple and multi-line selections.
3. Save will commit (closing without save will cancel).

Commit Status File:
================================================================================
[ ] ? iotimes.c
[ ] ? adhoc.c
[x] M tdec2bin.c
[x] M Makefile
[x] M dec2bin.c
[x] M fpconv.hh
[x] M fptrans.hh


I'm baffled by "Pick files below using y to select...". I've tried replacing the 'x' with a 'y', selecting a line or lines and typing 'y', and several other variants. If these steps haven't erased the line, when I save the file I get a popup that tells me that I haven't selected any files to commit. What am I overlooking?
pete340
 
Posts: 76
Joined: Mon Oct 10, 2011 9:45 pm

Re: Sublime SVN

Postby wbond on Thu Mar 15, 2012 12:53 pm

pete340 wrote:I'm baffled by "Pick files below using y to select...". I've tried replacing the 'x' with a 'y', selecting a line or lines and typing 'y', and several other variants. If these steps haven't erased the line, when I save the file I get a popup that tells me that I haven't selected any files to commit. What am I overlooking?


It sounds like your machine is not picking up the keybindings file, or the syntax for the view (since they work together). Is the contents of the SVN tab syntax highlighted? If not, then that would explain it.

Could you tell me what platform you are on and what version of Sublime you are running?
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: Sublime SVN

Postby pete340 on Thu Mar 15, 2012 1:51 pm

wbond wrote:It sounds like your machine is not picking up the keybindings file, or the syntax for the view (since they work together). Is the contents of the SVN tab syntax highlighted? If not, then that would explain it.

Could you tell me what platform you are on and what version of Sublime you are running?


When I select svn:status, the view that I get has syntax highlighting. From there, when I right-click and select SVN | commit, the resulting view does not have syntax highlighting.

This is on a Mac, running OSX, 10.7.3. Sublime version is Build 2818.
pete340
 
Posts: 76
Joined: Mon Oct 10, 2011 9:45 pm

Re: Sublime SVN

Postby wbond on Thu Mar 15, 2012 3:47 pm

pete340 wrote:When I select svn:status, the view that I get has syntax highlighting. From there, when I right-click and select SVN | commit, the resulting view does not have syntax highlighting.

This is on a Mac, running OSX, 10.7.3. Sublime version is Build 2818.


That would definitely cause the keyboard shortcuts to not work. I'll do some testing on Lion and see if I can replicate the issue you had. Thanks for the report!
wbond
 
Posts: 528
Joined: Mon Feb 28, 2011 5:33 am

Re: Sublime SVN

Postby pete340 on Thu Mar 15, 2012 4:33 pm

wbond wrote:
pete340 wrote:When I select svn:status, the view that I get has syntax highlighting. From there, when I right-click and select SVN | commit, the resulting view does not have syntax highlighting.

This is on a Mac, running OSX, 10.7.3. Sublime version is Build 2818.


That would definitely cause the keyboard shortcuts to not work. I'll do some testing on Lion and see if I can replicate the issue you had. Thanks for the report!


Whoops, the Sublime version number is 2181. I assume you figured out that 2818 was nonsense. :-(
pete340
 
Posts: 76
Joined: Mon Oct 10, 2011 9:45 pm

Re: Sublime SVN

Postby pbe on Fri Mar 23, 2012 7:56 pm

I'm having the same issue as reported above - both, in Windows 7 and OS X Lion environments. I'm using Sublime Text v2 build 2181.
pbe
 
Posts: 1
Joined: Fri Mar 23, 2012 7:52 pm

Re: Sublime SVN

Postby StevenRas on Tue Mar 27, 2012 8:17 am

Hi guys,

I have the same problem and can not commit. (or I don't get HOW to commit)

I am running Sublime 2181 and MAC OSX 10.6.
My repository is a local SVN which I created with:
Code: Select all
file:///Users/steven/SVNsublimetest


Any ideas?
StevenRas
 
Posts: 11
Joined: Fri Mar 23, 2012 4:58 pm

Next

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 9 guests