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

Re: git-svn "cannot lock ref" error during fetch

From
LHLars Hjemli <hjemli@gmail.com>
Date
Jun 7, 2007, 06:54 UTC
Message-ID
<8c5c35580706062354g5b19e4b8x43d211f634a8583b@mail.gmail.com>
In-Reply-To
<20070607063158.GA2809@muzzle>
On 6/7/07, Eric Wong <normalperson@yhbt.net> wrote:
Show 12 quoted lines
> James Peach <jamespeach@mac.com> wrote:
> > update-ref -m r13726 refs/remotes/tags/project-92~9
> > 950638ff72acc278156a0d55baafbabb43f2b772: command returned error: 128
> >
> > Some amount of searching failed to turn up any hints on what this
> > error means or how I can work around it. I'd appreciate any advice ...
>
> Is there a tag actually named "project-92~9"?  If so, it's
> an invalid branch name for git.  I started working on a way
> around it by mapping new names to it, but haven't gotten around to
> finishing it....
>

fwiw: a similar error occurs when a svn tag-/branchname contains spaces. The culprit seems to be $self->refname in

		command_noisy('update-ref', '-m', "r$rev",
		              $self->refname, $commit);
in rev_db_set()

-- larsh

Previous: Eric WongNext: James Peach
Message 3 of 6 in “git-svn "cannot lock ref" error during fetch”
  1. James PeachJun 6, 2007
  2. Eric WongJun 7, 2007
  3. Lars HjemliJun 7, 2007
  4. James PeachJun 7, 2007
  5. Eric WongJun 9, 2007
  6. James PeachJun 13, 2007

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.