You wrote this:svn checkout -r6 http://solr-php-client.googlecode.com/svn/trunk/ SolrPhpClient

You might want to write:svn export -r6 http://solr-php-client.googlecode.com/svn/trunk/ SolrPhpClient

Because you force a revision number, you should not let the .svn files be created. Doing an 'export' will just copy the code from the SVN repository without creating those metafiles.

Comments

pounard’s picture

If you are maintaing your code base in subversion, you may choose instead to
use svn export or svn externals. For an export (writing a copy to your local
directory without .svn files to track changes) use:

svn export -r6 http://solr-php-client.googlecode.com/svn/trunk/ SolrPhpClient

You shouldn't have tell about the 'checkout' at all, this does not make any sens to force a revision with a checkout if you're not willing to do updates.

SVN users will known by themselves that they can do a checkout if they want.

robertdouglass’s picture

Status: Active » Closed (won't fix)

The current documentation mentions both techniques, and there are cases for both checking out and exporting. Closing for now, but will review any patches to improve the docs =)

pounard’s picture

Yep saw it afterwards. This is confusing at first sight but you did well mentioning both technics, despite the fact a end user never should use the checkout.