Detect SVN checkout of trunk #10

danielbachhuber opened this Issue Jul 31, 2012 · 2 comments

4 participants


If the WordPress install is using an SVN checkout of trunk, the developer plugin should detect that, reflect it in the UI, and not prompt to install the beta tester plugin

Automattic member
if ( is_dir( ABSPATH . '/.svn/' ) )
Automattic member
nb commented Aug 11, 2012

If we have an svn folder we aren't sure it's trunk, we just know it's checked out from svn.

First, we could try to run svn info in the ABSPATH. If this doesn't work, we can read the .svn/entries file and check if the first line starting with http:// is the URL to WordPress trunk.

@joshbetz joshbetz was assigned Aug 14, 2013
@joshbetz joshbetz closed this Oct 8, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment