[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Stop 'svn import' from importing empty paths

From: Julian Foad <julianfoad_at_btopenworld.com>
Date: 2005-04-11 18:15:27 CEST

S.Ramaswamy wrote:
> Changelog:
>

Please begin a log message with a summary of the change (and reference to any
relevant issue). In this case, perhaps just:

   "Stop 'svn import' from importing empty paths."

- Julian

> * subversion/libsvn_client/commit.c
> (repos_change_baton_t) : New struct with a single boolean
> member to remember if changes were made to the repository.
>
> (import_dir) : Added an extra function parameter -
> 'repos_change_baton'. Set repos_changed in the baton to
> true if parent directories are created and when directories
> or files are added to the repository.
>
> (import) : Abort an edit if no changes are made to the repository.
>
> * subversion/tests/clients/cmdline/basic_tests.py
> (basic_import_empty_dir) : New. Verify that empty revisions
> cannot be created.
>
> (test_list) : Added basic_empty_revision to list of tests.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Apr 11 18:37:46 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.