www-infrastructure-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jukka Zitting" <jukka.zitt...@gmail.com>
Subject Re: [scm] Making a public git mirror of an Apache project
Date Fri, 10 Oct 2008 14:51:52 GMT
Hi,

On Mon, Sep 22, 2008 at 5:46 AM, Matthieu Riou <matthieu@offthelip.org> wrote:
> So I poked around the git-svn code which was a good occasion to get back to
> perl. The code is a bit dreadful actually. Turns out git-svn fails when it
> uses the do_switch svn function to follow the parent. If you force it to use
> do_update instead, it works nicely. So right now I've deactivated it just by
> hacking git-svn directly with the following patch:
>
> diff --git a/git-svn.perl b/git-svn.perl
> index af8279a..12246eb 100755
> --- a/git-svn.perl
> +++ b/git-svn.perl
> @@ -4274,7 +4274,8 @@ sub can_do_switch {
>                }
>                $pool->clear;
>        }
> -       $can_do_switch;
> +  #$can_do_switch;
> +  ""
>  }
>
> Ugly but effective.

Cool! I'll give it a try this weekend.

BR,

Jukka Zitting

Mime
View raw message