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