[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' (v5)

From: S.Ramaswamy <ramaswamy_at_collab.net>
Date: 2005-06-02 13:17: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 Thu Jun 2 13:23:17 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.