Skip to content
A lightweight Ruby wrapper for the Linux SVN command line interface
Branch: master
Clone or download
Pull request Compare This branch is 15 commits ahead of spatchcock:master.
Latest commit ba04ee6 Oct 8, 2015
Type Name Latest commit message Commit time
Failed to load latest commit information.
.ruby-version made config file Oct 8, 2015
LICENSE.txt add files Jan 10, 2012 remove bullets from readme Jan 11, 2012
config.yml added config file Oct 8, 2015
sample.rb added config file Oct 8, 2015
sample.xml additions Oct 6, 2015


A lightweight wrapper written in Ruby for the Linux command line SVN interface. It allows basic interaction with an SVN repository, including adding, renaming, deleting, committing, diffing and checking the status of files.

Licensed under the MIT license (See LICENSE.txt for details)

Authors: Andrew Berkeley

Copyright: Copyright (c) Andrew Berkeley



Just include the code somewhere appropriate


  • UNIX system
  • SVN installation
  • Ruby!


SVN authentication credentials must be initialized as follows:

SVN.username = "a_username"
SVN.password = "a_password"

File management can then be performed:"new_file.txt", 'w') { |file| file.write "This is a new file" }

SVN.status                               => [["?", "new_file.txt"]]

SVN.add "new_file.txt"                   => "A         new_file.txt\n"

SVN.commit "adding new file"             => "12345 // new revision number
You can’t perform that action at this time.