On Jul 20, 2009, at 2:56 AM, Hannes Magnusson wrote:
On Sun, Jul 19, 2009 at 03:26, Rasmus Lerdorf<ras...@lerdorf.com>
wrote:
Hannes Magnusson wrote:
Hi guys
Now that we have moved to SVN with slightly changed structure I'd
like
to propose a "standard checkout".
svn co http://svn.php.net/repository --depth empty src
svn co http://svn.php.net/repository/phpdoc/en/trunk --depth
infinity src
To add another translation:
cd ~
svn co http://svn.php.net/repository/phpdoc/de/trunk --depth
infinity src
I like it. I like it a lot. :)
The above doesn't work for me (SVN 1.6.3), as I get:
phi...@water /tmp> svn co http://svn.php.net/repository --depth empty
src
Checked out revision 284449.
phi...@water /tmp> svn co http://svn.php.net/repository/phpdoc/en/
trunk --depth infinity src
svn: 'src' is already a working copy for a different URL
Felipe confirms this error on his work (1.6.3) machine, but thinks it
worked on his home machine (he'll compare the difference when he gets
home).
But the following does work:
svn co http://svn.php.net/repository --depth empty src
cd src
svn co http://svn.php.net/repository/phpdoc/en/trunk --depth infinity en
So this ends up with:
src/en
But, I can't recommend this due to my ignorance with the topic.
A few notes and questions:
- We rarely use branches/tags so it'd be nice if 'trunk' wasn't forced
in our paths, making it the default... okay?
- When using sparse checkouts, what's the simplest method for having a
phpdoc-all?
- I assume we'd remove our svn:externals while recommending this?
Regards,
Philip