public
Description: Syncs one directory to another (example: a git project to an svn repo)
Clone URL: git://github.com/technoweenie/duplikate.git
Search Repo:
name age message
folder .gitignore Fri Jan 25 14:34:46 -0800 2008 actually copy files... [technoweenie]
folder CHANGES Sun Apr 06 08:11:54 -0700 2008 add Duplikate#ignore [osteele]
folder README Sat Apr 05 19:17:30 -0700 2008 add report, dry_run [osteele]
folder Rakefile Fri Jan 25 12:22:19 -0800 2008 initial commit [technoweenie]
folder lib/ Sun Apr 06 08:11:54 -0700 2008 add Duplikate#ignore [osteele]
folder spec/ Sun Apr 06 08:11:54 -0700 2008 add Duplikate#ignore [osteele]
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!