On Wed, Feb 15, 2012 at 8:09 PM, jidanni@jidanni.org wrote:
Folks, the switchover documentation is all aimed at savvy read-write developers. We drones who just use SVN as a simple yet risky way to keep our live version of MediaWiki fresh need instructions on how to:
- install git (OK, apt-get install git etc.)
Actually the package is git-core.
- convert our maintenance scripts to use git commands instead of svn
commands. In particular for me
svn update
`git pull origin master`
svn status
`git status`
for i in RELEASE-NOTES-* do echo $i diff: svn diff -r ${BASE-BASE}:HEAD $i|wdiff -d -3|tee /tmp/mediawikiDiff$$ done
We can't possibly write instructions for every obscure shell script somebody might've come up with. For this one I'd suggest taking a look at `git help diff` to get an idea of how git diffs work.
Add notes also on how we first cd(1) to the right directory, run some command that zaps all the hidden .svn files and another command that adds all the equivalent hidden .git files or whatever.
The .git folders will exist after you clone the repository. There won't be any .svn directories there to clean up.
-Chad