www-infrastructure-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Werner Punz <werner.p...@gmail.com>
Subject Re: SVN + baseline errors revisited
Date Mon, 21 Sep 2009 17:21:23 GMT
Luciano Resende schrieb:
> On Fri, Sep 18, 2009 at 7:32 AM, Werner Punz <werner.punz@gmail.com> wrote:
>> Jukka Zitting schrieb:
>>
>>> Given the major performance boost that the EU mirror has given for
>>> many svn operations I don't mind these occasional errors too much
>>> (except when committing via git-svn...), but it might be a good idea
>>> to add an FAQ entry about this.
>>>
>> Ok thanks for the clarification, one thing which is more affected probably
>> is git-svn  but i dont mind doing a set of rebases, after all it only is a
>> handful of commits anyway usually being done.
>> (maybe I should write a meta script with a delay in between for the commit)
>>
> 
> Here is something i use to do multiple commits using git svn with
> proper delay interval
> Use it as gitCo.sh <number of commits>  .... Hope it help others...
> 
> # Licensed to the Apache Software Foundation (ASF) under one
> # or more contributor license agreements.  See the NOTICE file
> # distributed with this work for additional information
> # regarding copyright ownership.  The ASF licenses this file
> # to you under the Apache License, Version 2.0 (the
> # "License"); you may not use this file except in compliance
> # with the License.  You may obtain a copy of the License at
> #
> #   http://www.apache.org/licenses/LICENSE-2.0
> #
> # Unless required by applicable law or agreed to in writing,
> # software distributed under the License is distributed on an
> # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> # KIND, either express or implied.  See the License for the
> # specific language governing permissions and limitations
> 
> #!/bin/bash
> 
> commits=5
> if [ "$#" -eq "1" ]
> then
>    commits=$1
> fi
> echo ">>> Will commit ${commits} times"
> for((times=0; times<=commits; times++))
> do
>    echo ">>> ${times}"
> 
>    git svn rebase
>    git svn dcommit
>    sleep 35
> done
> git svn rebase
> 
> 


Hey thanks a lot you saved me a few minutes of work.
The script works like a charm.


Werner


Mime
View raw message