ilovett

Using Subversion Import Properly

December 31st, 2004

If you're setting up a directory structure in advance, and then importing with the import command, add the name of the current folder to the repository path. Otherwise, things will be imported one level higher than they should be.

The right way:

$ cd /tmp/computer_admin
$ svn import . https://localhost/computer_admin

The wrong way:

$ cd /tmp/computer_admin
$ svn import . https://localhost