On 16/02/12 06:13, Chad wrote: > On Wed, Feb 15, 2012 at 11:06 PM, <[email protected]> wrote: >>>>>>> "DF" == Daniel Friesen <[email protected]> writes: >> >> DF> Though double checking. It looks like rather than asking how to clone >> DF> the git repo. He's asking how to convert a svn based checkout to a git >> DF> checkout. >> >> Yes, and then there's the issue of if LocalSettings.php can survive >> unscathed etc. > > You should do a fresh clone from git rather than trying to turn > a SVN repo into a Git one. Then you can just copy LocalSettings > from one directory to another.
There's also images, caches... Seems easier to upgrade a svn checkout to a git one: # You had long ago done: svn co http://svn.wikimedia.org/svnroot/mediawiki/trunk/phase3/ cd phase3 echo '<?php /* Some configuration */' > LocalSettings.php # Now you do in phase3: git clone --no-checkout --bare --depth=1 https://github.com/mediawiki/mediawiki-trunk-phase3.git .git git config --unset core.bare git reset Due to svn:keywords expansion you will end with 86 modified files... :( _______________________________________________ Wikitech-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikitech-l
