public
Description: The Git TextMate Bundle
Homepage: http://tim.theenchanter.com/
Clone URL: git://github.com/timcharper/git-tmbundle.git
git-tmbundle / Support / app / controllers / svn_controller.rb
100644 18 lines (15 sloc) 0.389 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
class SvnController < ApplicationController
  def dcommit
    puts "<h2>Committing to Subversion Repository</h2>"
    puts htmlize(git.svn.dcommit)
  end
  
  def rebase
    puts "<h2>Rebasing Subversion Repository</h2>"
    puts htmlize(git.svn.rebase)
    rescan_project
  end
  
  def fetch
    puts "<h2>Fetching Subversion Repository</h2>"
    puts htmlize(git.svn.fetch)
  end
  
end