git/list[1] front-page[2] threads[3] people[4] search[5] about
 

git-svn: Cannot lock the ref 'refs/remotes/tags/autotag_for_.'.

From
TCTzafrir Cohen <tzafrir.cohen@xorcom.com>
Date
Feb 9, 2010, 21:39 UTC
Message-ID
<20100209213929.GL3599@xorcom.com>
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
Next: Tzafrir Cohen
Message 1 of 4 in “git-svn: Cannot lock the ref 'refs/remotes/tags/autotag_for_.'.”
  1. Tzafrir CohenFeb 9, 2010
  2. Tzafrir CohenFeb 10, 2010
  3. Tay Ray ChuanFeb 11, 2010
  4. Tzafrir CohenFeb 12, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.