Skip to content
Syncs one directory to another (example: a git project to an svn repo)
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib
spec
.gitignore
CHANGES
README
Rakefile

README

duplikate
=========

# process the differences between the two directories:

dupe = Duplikate.process 'my-git-repo', 'my-svn-repo'
dupe.added_files         #=> [..., ...]
dupe.added_directories   #=> [..., ...]
dupe.deleted_files       #=> [..., ...]
dupe.deleted_directories #=> [..., ...]
dupe.existing_files      #=> [..., ...]

dupe.report

# Or actually make the changes and commit in svn:

Duplikate.execute 'my-git-repo', 'my-svn-repo'

TODO: Actual real-world usage!
Something went wrong with that request. Please try again.