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

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

From: S.Ramaswamy <ramaswamy_at_collab.net>
Date: 2005-04-06 09:47:25 CEST

Patch to avoid creating empty revisions - revisions with no path changes.
Currently 'svn import' allows empty paths to be imported, creating
revisions with no path changes. Not sure if basic_tests.py is the right
place for the test.

Ramaswamy

ChangeLog :

* subversion/libsvn_client/commit.c
  (import) : Abort an edit if the path is an empty directory to avoid
    creating empty revisions.

* subversion/tests/clients/cmdline/basic_tests.py
  (basic_import_empty_dir) : New. Verify that an empty directory cannot
    be imported.

  (test_list) : Added basic_import_empty_dir 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 Wed Apr 6 20:33:21 2005

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