git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn: Cannot lock the ref 'refs/remotes/tags/autotag_for_.'.
@ 2010-02-09 21:39 Tzafrir Cohen
  2010-02-10 17:07 ` Tzafrir Cohen
  2010-02-11  8:36 ` Tay Ray Chuan
  0 siblings, 2 replies; 4+ messages in thread
From: Tzafrir Cohen @ 2010-02-09 21:39 UTC (permalink / raw)
  To: git

Hi

I'm using git-svn for watching over SVN repositories in
svn.asterisk.org . The largest one there is
http://svn.asterisk.org/svn/asterisk .

This worked fine up until recently. I was using Debian Stable with Git
1.5.6 .

Recently I upgraded my system to Debian Testing with Git 1.6 (I
currently have 1.6.6.1-1). Today I tried to update the repository (git
svn rebase --fetch-all) and got the following error:

  fatal: Cannot lock the ref 'refs/remotes/tags/autotag_for_.'.

IIRC it followed an automatic garbage-collection in the repository.

I decided to re-clone the SVN repository (I was planning on doing that
for quite some time, with a proper AUTHORS file this time. But it's a
repo of some 200,000 revisions and takes a few days to clone)

I eventually got the same error.

The specific revision that triggered it:

  http://svnview.digium.com/svn/asterisk?view=revision&revision=47394

Should git-svn mangle SVN tag names to be legal git ref names? Or just
panic before it makes the git repo invalid?

Is there a way for me to skip some tags? I can avoid that specific tag.

Please CC your replies to me as I don't actively follow this list.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git-svn: Cannot lock the ref 'refs/remotes/tags/autotag_for_.'.
  2010-02-09 21:39 git-svn: Cannot lock the ref 'refs/remotes/tags/autotag_for_.' Tzafrir Cohen
@ 2010-02-10 17:07 ` Tzafrir Cohen
  2010-02-11  8:36 ` Tay Ray Chuan
  1 sibling, 0 replies; 4+ messages in thread
From: Tzafrir Cohen @ 2010-02-10 17:07 UTC (permalink / raw)
  To: git

Small update,

On Tue, Feb 09, 2010 at 11:39:29PM +0200, Tzafrir Cohen wrote:
> Hi
> 
> I'm using git-svn for watching over SVN repositories in
> svn.asterisk.org . The largest one there is
> http://svn.asterisk.org/svn/asterisk .
> 
> This worked fine up until recently. I was using Debian Stable with Git
> 1.5.6 .
> 
> Recently I upgraded my system to Debian Testing with Git 1.6 (I
> currently have 1.6.6.1-1). Today I tried to update the repository (git
> svn rebase --fetch-all) and got the following error:
> 
>   fatal: Cannot lock the ref 'refs/remotes/tags/autotag_for_.'.
> 
> IIRC it followed an automatic garbage-collection in the repository.
> 
> I decided to re-clone the SVN repository (I was planning on doing that
> for quite some time, with a proper AUTHORS file this time. But it's a
> repo of some 200,000 revisions and takes a few days to clone)
> 
> I eventually got the same error.
> 
> The specific revision that triggered it:
> 
>   http://svnview.digium.com/svn/asterisk?view=revision&revision=47394
> 
> Should git-svn mangle SVN tag names to be legal git ref names? Or just
> panic before it makes the git repo invalid?
> 
> Is there a way for me to skip some tags? I can avoid that specific tag.

Here's one that did not work:

$ git svn clone -s --ignore-paths='^/tags/autotag_for_.$' http://svn.asterisk.org/svn/asterisk

I again stress that git-svn manages to fetch a faulty repository.
Another sub-question is: how do I remove that faulty reference git-svn
added?

> 
> Please CC your replies to me as I don't actively follow this list.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git-svn: Cannot lock the ref 'refs/remotes/tags/autotag_for_.'.
  2010-02-09 21:39 git-svn: Cannot lock the ref 'refs/remotes/tags/autotag_for_.' Tzafrir Cohen
  2010-02-10 17:07 ` Tzafrir Cohen
@ 2010-02-11  8:36 ` Tay Ray Chuan
  2010-02-12 14:41   ` Tzafrir Cohen
  1 sibling, 1 reply; 4+ messages in thread
From: Tay Ray Chuan @ 2010-02-11  8:36 UTC (permalink / raw)
  To: git

Hi,

On Wed, Feb 10, 2010 at 5:39 AM, Tzafrir Cohen <tzafrir.cohen@xorcom.com> wrote:
> Is there a way for me to skip some tags? I can avoid that specific tag.

have you tried --ignore-paths?

-- 
Cheers,
Ray Chuan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: git-svn: Cannot lock the ref 'refs/remotes/tags/autotag_for_.'.
  2010-02-11  8:36 ` Tay Ray Chuan
@ 2010-02-12 14:41   ` Tzafrir Cohen
  0 siblings, 0 replies; 4+ messages in thread
From: Tzafrir Cohen @ 2010-02-12 14:41 UTC (permalink / raw)
  To: git

On Thu, Feb 11, 2010 at 04:36:51PM +0800, Tay Ray Chuan wrote:
> Hi,
> 
> On Wed, Feb 10, 2010 at 5:39 AM, Tzafrir Cohen <tzafrir.cohen@xorcom.com> wrote:
> > Is there a way for me to skip some tags? I can avoid that specific tag.
> 
> have you tried --ignore-paths?

Sorry for the late reply. I don't follow this list (please CC me
replies).

Yes, I tried. See my other response in this thread. No luck so far. I
guess the next thing to try would be to ignore all of those autotags
(even though they are somewhat useful).

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2010-02-12 15:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-02-09 21:39 git-svn: Cannot lock the ref 'refs/remotes/tags/autotag_for_.' Tzafrir Cohen
2010-02-10 17:07 ` Tzafrir Cohen
2010-02-11  8:36 ` Tay Ray Chuan
2010-02-12 14:41   ` Tzafrir Cohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).