On 16/02/12 02:17, Chad wrote:
> On Wed, Feb 15, 2012 at 8:09 PM,  <[email protected]> wrote:
>> * convert our maintenance scripts to use git commands instead of svn
>>  commands. In particular for me
>>
>>    svn update
>>
> 
> `git pull origin master`

Usually git pull is enough.


>>    svn status
>>
> 
> `git status`

It's not a simple replacement. git status can be quite unintuitive to
those used to the much simpler svn status.

>>    for i in RELEASE-NOTES-*
>>        do
>>            echo $i diff:
>>            svn diff -r ${BASE-BASE}:HEAD $i|wdiff -d -3|tee 
>> /tmp/mediawikiDiff$$
>>        done
>>

I think you could replace the svn line with
git diff $BASE HEAD $i
(HEAD being optional there)


_______________________________________________
Wikitech-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikitech-l

Reply via email to