[asterisk-dev] git-svn fetch failing

Ben Langfeld ben at langfeld.me
Sun Dec 15 08:04:06 CST 2013


Thanks. Simply deleting that tag appears to have allowed the fetch to
continue.


On 15 December 2013 07:21, Tzafrir Cohen <tzafrir.cohen at xorcom.com> wrote:

> On Sat, Dec 14, 2013 at 06:29:11PM -0500, Ben Langfeld wrote:
> > I'm having some problems using git-svn to clone Asterisk into a local git
> > repo. The output is this:
> >
> > {18:24}~/code/asterisk:master ✓
> > 1 ↵ ➭ git svn fetch
> >
> > [2.0.0]
> > Found possible branch point:
> > http://svn.digium.com/svn/asterisk/branches/1.4 =>
> > http://svn.digium.com/svn/asterisk/tags/autotag_for_aadk-0.1.0, 47394
> > W: Refspec glob conflict (ref: refs/remotes/trunk):
> > expected path: branches/trunk
> >     real path: trunk
> > Continuing ahead with trunk
> > fatal: Not a valid object name refs/remotes/tags/autotag_for_.
> > cat-file commit refs/remotes/tags/autotag_for_.: command returned error:
> 128
>
> '.' may not appear at the end of a tag name (if a tag is called 'a.' and
> there's a tag called 'a', what happens with 'a..master'?).
>
> >
> > Has anyone seen this before? Is it a known issue?
>
> Yes, I have run into that. I think I had to manually remove that
> reference and re-fetch ('git svn fetch' continues the clone).
>
> Ah, but I documented a better fix:
>
>   git svn clone -r1-47393,47395:HEAD -s
> http://svn.asterisk.org/svn/asterisk
>
> This tag was created accidentally, and you can live without it in the
> repository.
>
> This is documented in
>
> https://gitorious.org/asterisk-tools/asterisk-tools/source/master:git-asterisk-howto
>
> You also have gen_authors to generate an AUTHORS file (for usage with
> -A) in that git repository. Even better: you have an
> automatically-updating git repository generated using git-svn near-by:
> https://gitorious.org/asterisk-tools/asterisk
>
> --
>                Tzafrir Cohen
> icq#16849755              jabber:tzafrir.cohen at xorcom.com
> +972-50-7952406           mailto:tzafrir.cohen at xorcom.com
> http://www.xorcom.com
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> asterisk-dev mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20131215/8b10b2b9/attachment.html>


More information about the asterisk-dev mailing list