Add an --include-empty-directories option.
commit38937266653777da476fbb7bbd986107aa26d3de
authormhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Sun, 17 Jan 2010 08:10:00 +0000 (17 08:10 +0000)
committermhagger <mhagger@be7e6eca-30d4-0310-a8e5-ac0d63af7087>
Sun, 17 Jan 2010 08:10:00 +0000 (17 08:10 +0000)
tree3f06f0bb64e3c4c542b26dd507373220c733084e
parenteea5223bc134abc7debbaf783d243f60091b3269
Add an --include-empty-directories option.

When this option is set, treat an empty directory within the CVS
repository as a part of the source tree, and create it in the SVN
repository at the point when the directory's parent is created.  (An
empty directory that is directly in a project root directory is
created when the project is initialized.)

Show, in cvs2svn-example.options, how to accomplish the equivalent of
--include-empty-directories via an options file.

Add tests of this new feature.

This commit fixes issue #31.

git-svn-id: http://cvs2svn.tigris.org/svn/cvs2svn/trunk@5027 be7e6eca-30d4-0310-a8e5-ac0d63af7087
17 files changed:
CHANGES
cvs2svn-example.options
cvs2svn_lib/context.py
cvs2svn_lib/svn_output_option.py
cvs2svn_lib/svn_run_options.py
run-tests.py
test-data/empty-directories-cvsrepos/a.txt,v [new file with mode: 0644]
test-data/empty-directories-cvsrepos/direct/b.txt,v [new file with mode: 0644]
test-data/empty-directories-cvsrepos/direct/empty-directory/README.txt [new file with mode: 0644]
test-data/empty-directories-cvsrepos/direct/empty-directory/empty-subdirectory/README.txt [new file with mode: 0644]
test-data/empty-directories-cvsrepos/indirect/empty-directory/README.txt [new file with mode: 0644]
test-data/empty-directories-cvsrepos/indirect/empty-directory/empty-subdirectory/README.txt [new file with mode: 0644]
test-data/empty-directories-cvsrepos/indirect/subdirectory/c.txt,v [new file with mode: 0644]
test-data/empty-directories-cvsrepos/root-empty-directory/README.txt [new file with mode: 0644]
test-data/empty-directories-cvsrepos/root-empty-directory/empty-subdirectory/README.txt [new file with mode: 0644]
www/cvs2svn.html
www/features.html