From: https://i18n-zh.googlecode.com/svn/www/svnbook-1.4/svn.tour.importing.html
There are two ways to introduce a new file to the Subversion Library:SVN ImportAndSVN add, Which will be discussed in this chapter.SVN ImportAnd will be discussed during the typical Review of subversionSVN
Add.
SVN Import
SVN ImportIs the fastest way to import unversionized files to the version library. The intermediary directory will be created as needed.SVN ImportIf you do not need a working copy, your files will be directly submitted to the version library, which is usually used when you want to add a group of files to the Subversion library. For example:
$ svnadmin create /usr/local/svn/newrepos$ svn import mytree file:///usr/local/svn/newrepos/some/project \ -m "Initial import"Adding mytree/foo.cAdding mytree/bar.cAdding mytree/subdirAdding mytree/subdir/quux.hCommitted revision 1.
In the previous example, the directory will be copiedmytreeTo the version Librarysome/projectBelow:
$ svn list file:///usr/local/svn/newrepos/some/projectbar.cfoo.csubdir/
Note: After the import, the original directory tree andNoTo get started, you still need to runSVN checkoutExport a work copy.
Recommended version library Layout
Although the flexibility of subversion allows you to freely deploy the version library, we have a set of recommended methods to createtrunkDirectory to save the "Main Line" of development,branchesDirectory store branch copy,tagsDirectory save label copy, for example:
$ svn list file:///usr/local/svn/repos/trunk/branches/tags
You will be in Chapter 4thBranch and mergeView the details of the tag and branch. For information about setting multiple projects, you can refer to the "Project root directory" in the "version library layout" section and "plan your version library structure" section.