On Wed, Feb 15, 2012 at 11:06 PM,
<jidanni(a)jidanni.org> wrote:
>>>> "DF" == Daniel Friesen <lists(a)nadir-seen-fire.com>
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
cd phase3
echo '<?php /* Some configuration */' > LocalSettings.php
# Now you do in phase3:
git clone --no-checkout --bare --depth=1
.git
git config --unset core.bare
git reset
Due to svn:keywords expansion you will end with 86 modified files... :(