SCM

Description

SCM is a simple Ruby library for interacting with common SCMs, such as Git, Mercurial (Hg) and SubVersion (SVN).

Features

Examples

require 'scm'

repo = SCM::Git.new('path/to/repo')

repo.branches# => [...]


repo.tags# => [...]


repo.status# => {...}


repo.log

Install

$ gem install scm

Copyright

Copyright (c) 2011 Hal Brodigan

See LICENSE for details.