Stop 'svn import' from creating empty revisions, and organize
the import tests into a separate test script.
* build.conf
Added import_tests.py to the list of test scripts.
* subversion/libsvn_client/commit.c
(import_ctx_t) : New import context struct suggested by
C.Michael Pilato. Currently only the repos_changed boolean
is used to remember if changes were made to the repository.
(import_dir) : Added an extra function parameter - 'import_ctx'.
Set repos_changed to true if files or directories are added
to the repository.
(import) : Set repos_changed in the import_ctx to true if
parent directories are added, or if a file is added.
Abort an edit if no files or directories were added to the
repository.
* subversion/tests/clients/cmdline/basic_tests.py
(basic_import_executable) : Moved to import_tests.py.
(basic_import_ignores) : Moved to import_tests.py.
(test_list) : Removed 'basic_import_executable' and
'basic_import_ignores' from the list of tests.
* subversion/tests/clients/cmdline/import_tests.py : New.
(import_executable) : Previously basic_import_executable in
basic_tests.py.
(import_ignores) : Previously basic_import_ignores in
basic_tests.py.
(import_avoid_empty_revision) : New. Verify empty revisions
cannot be created during an import.
(test_list) : Added 'import_executable', 'import_ignores',
and 'import_avoid_empty_revisions' to the list of tests.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Apr 17 17:51:18 2005