Checkout Tools
  • last updated 7 hours ago
Constraints: committers
Constraints: files
Constraints: dates

Changeset 839094 is being indexed.

Protect against importing "SVN/" subdirs.

* libsvn_client/import.c (svn_wc_import, import_dir): Check name

before importing.

* include/svn_wc.h (SVN_WC_ADM_DIR_NAME): New #define.

* libsvn_wc/adm_files.c (SVN_WC__ADM_DIR_DEFAULT): Removed in favor of


(adm_subdir): Adjust for above.

* include/svn_error.h (svn_errno_t): New error


Fix related to the previous commit that moved import.c:

* libsvn_client/import.c: Don't #include "wc.h".

Notes on the first change:

This may or may not resolve Kevin Pilch-Bisson's recent bug report,


PR: 340

and these dev mails





I haven't closed the PR yet, as there may be more to this issue.

  1. … 3 more files in changeset.
Put import.c in libsvn_client instead of libsvn_wc, as suggested by

Greg Stein:

* libsvn_wc/import.c: Moved to ../libsvn_client.

* libsvn_wc/ (libsvn_wc_la_SOURCES): Removed import.c.

* libsvn_client/import.c: New file, copied from ../libsvn_wc.

Repository history not kept, as wasn't much anyway.

* libsvn_client/ (libsvn_client_la_SOURCES): Added


  1. … 3 more files in changeset.