Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 6785d22221
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (22 sloc) 0.993 kb
SvnImport
=========
Imports a rails project into subversion and converts the current directory to
a working copy of that project. SvnImport goes a little bit further than just
adding everything; it ignores resources such as logs, tmp files and database.yml
and environment.rb.
For the database.yml and environment.rb files, SvnImport creates template files,
and provides a task for copying them back after checkout. This allows each
developer to have their own database settings and/or keep the password for the
production database out of version control.
Example
=======
$ rails myapp
$ cd myapp
[More initial setup]
$ script/plugin install https://svn.cjohansen.no/rails/plugins/svn_import
$ rake svn:import
When checking out a project that was imported with svn_import you can do:
$ svn co http://my.repo/myapp/trunk .
$ rake svn:setup
Copyright (c) 2008 Christian Johansen , released under the MIT license
christian@cjohansen.no - http://www.cjohansen.no - http://en.cjohansen.no
Jump to Line
Something went wrong with that request. Please try again.