Checkout Tools
  • last updated 20 mins ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates

Changeset 1446024 is being indexed.

* subversion/libsvn_client/import.c

(svn_client_import5): Use the new svn_sort__array_reverse() instead of

doing it the long way. Clean up some use of local variables, moving to

tighter scope etc.

Hide that originally commit and import shared some code by separating these

features to separate files. The current status is that they don't share

any implementation and this separation turns out to be much easier than expected.

* subversion/libsvn_client/commit.c

(includes): Remove unused includes.

(*): Remove functions that are used by import.

* subversion/libsvn_client/import.c

New file, copied from commit.c

(includes): Remove unused includes.

(*): Remove functions that are used by commit.

  1. … 1 more file in changeset.

* import.c: delete this old crufty file.

* commit.c (send_to_repos): duh, don't call the auth storage callback

when finished with an import!

  1. … 1 more file in changeset.
Update copyright from 2000 to 2000-2001. Used gstein's script to make it all happen. Thanks, Greg.

  1. … 157 more files in changeset.
Get a brain:

* include/svn_wc.h (svn_wc_import): Remove declaration.

* libsvn_client/import.c: Removed, code transferred to commit.c.

* libsvn_client/Makefile.am (libsvn_client_la_SOURCES): Removed

import.c.

* libsvn_client/commit.c (import): New internal func, was

svn_wc_import.

  1. … 3 more files in changeset.
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

public SVN_WC_ADM_DIR_NAME.

(adm_subdir): Adjust for above.

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

SVN_ERR_CL_ADM_DIR_RESERVED.

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,

see

PR: 340

and these dev mails

<20010328114611.A20048@pilch-bisson.net>

<86ae65kdxt.fsf@newt.ch.collab.net>

<20010328123804.A20221@pilch-bisson.net>

<864rwdkban.fsf@newt.ch.collab.net>

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/Makefile.am (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/Makefile.am (libsvn_client_la_SOURCES): Added

import.c.

  1. … 3 more files in changeset.