[asterisk-dev] please please please open ViewVC for svn.digium.com again

Tzafrir Cohen tzafrir.cohen at xorcom.com
Sun Sep 6 02:28:50 CDT 2009


On Sun, Sep 06, 2009 at 12:04:25AM -0500, Jeffrey Ollie wrote:
> On Sat, Sep 5, 2009 at 9:51 AM, Jeffrey Ollie<jeff at ocjtech.us> wrote:
> > I wouldn't want this to be only for trunk.  I have a script that scans
> > subversion and generates a git config file that tracks all of the
> > release branches as well as the tagged releases. It ignores the
> > personal/group branches. Once I'm back in front of my laptop this
> > evening I'll post it.
> 
> OK, here's my script.  You use it something like this:
> 
> mkdir ~/asterisk.git
> cd ~/asterisk.git
> git --bare init
> python ~/gen-ast-gitconfig.py > config
> mkdir svn
> git svn fetch

Hmmm.... but why not simply use:

  git svn clone -s http://svn.asterisk.org/svn/asterisk asterisk-git

Also note that --fetch-all may be useful.

asterisk$ cat .git/config
[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[svn-remote "svn"]
        url = http://svn.digium.com/svn/asterisk
        fetch = trunk:refs/remotes/trunk
        branches = branches/*:refs/remotes/*
        tags = tags/*:refs/remotes/tags/*
[branch "master"]
        remote = .
        merge = refs/remotes/trunk

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-dev mailing list