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

[PATCH] Issue #2105 - Add '--no-ignore' option to 'svn add' and 'svn import' (v4)

From: S.Ramaswamy <ramaswamy_at_collab.net>
Date: 2005-06-01 07:27:43 CEST

Log:

Fix issue #2105. Add "--no-ignore" switch to 'svn import' and
'svn add'.

* subversion/include/svn_client.h
    (svn_client_import2): New prototype.
    (svn_client_import): Deprecate.
    (svn_client_add3): New prototype.
    (svn_client_add2): Deprecate.

* subversion/libsvn_client/commit.c
    (svn_client_import2): New function. Similar to
      svn_client_import() but takes an additional boolean parameter
      'no_ignore'
    (svn_client_import): Re-implemented using new function
      svn_client_import2().
    (import_dir, import): Take new 'no_ignore' parameter.

* subversion/libsvn_client/add.c
    (add_dir_recursive): New boolean parameter 'no_ignore'.
    (add): Take new boolean parameter 'no_ignore' to function and
      pass it along to add_dir_recursive()
    (svn_client_add3): New function. Similar to svn_client_add2()
      except for the additional boolean parameter 'no_ignore'.
    (svn_client_add2, svn_client_add): Re-implemented using
      svn_client_add3().
    (svn_client_mkdir): Use new function svn_client_add3().

* subversion/clients/cmdline/import-cmd.c
    (svn_cl__import): Call svn_client_import2().

* subversion/clients/cmdline/main.c
    (svn_cl__cmd_table): New '--no-ignore' option for import and add.

* subversion/tests/clients/cmdline/import_tests.py
    (import_no_ignores): New test.
    (test_list): Run it.

* subversion/tests/clients/cmdline/basic_tests.py
    (basic_add_no_ignores): New test.
    (test_list): Run it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Wed Jun 1 07:36:08 2005

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