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

Re: [PATCH] Issue #2105 - Add '--no-ignore' option to 'svn add' and

From: S.Ramaswamy <ramaswamy_at_collab.net>
Date: 2005-06-04 16:22:34 CEST

v6 with the corrections.


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
    (svn_client_import): Re-implemented using new function
    (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_mkdir): Use new function svn_client_add3().

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

* subversion/libsvn_subr/config_file.c
    (svn_config_ensure): Update template for user level 'config'
      file to indicate that 'global-ignores' apply to 'import' and
      'add' as well.

* subversion/clients/cmdline/add-cmd.c
    (svn_cl_add): Call svn_client_add3().

* 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 Sat Jun 4 16:27:58 2005

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