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

Re: git-svn clone --stdlayout causes "fatal: refs/remotes/trunk: not a valid SHA1"

From
Jonathan Nieder <jrnieder@gmail.com>
Date
Nov 1, 2010, 17:11 UTC
Message-ID
<20101101171141.GA8853@burratino>
In-Reply-To
<225342.86075.qm@web24105.mail.ird.yahoo.com>
Hi Klaus,
Klaus wrote:
Show 22 quoted lines
> this works ok.
>        git svn clone svn://localhost/MyPrj MyPrj  --username=MyUserName
>     
> this causes the error (I added "--stdlayout")
>        git svn clone svn://localhost/MyPrj MyPrj  --stdlayout --username=MyUserName
>     
> last line of error output
> …
>         M       Wiki/MyPrj_wiki/MyPrjHistory.wiki
> W: -empty_dir: MyPrjAll/trunc/MyPrjGui/DotNet11MainMenu.cs
> r141 = ad4166b68d89c4b795fb74a4fc09168160b2f60e 
> (refs/remotes/tags/LastGuiMonolit_071207@142)
> W: +empty_dir: MyPrjAll/trunc/MyPrj.Gui
> r142 = 0decd283bb36f9296172970eeab377b6f93777ba 
> (refs/remotes/tags/LastGuiMonolit_071207@142)
> Found branch parent: (refs/remotes/tags/LastGuiMonolit_071207) 0decd283bb36f9296172970eeab377b6f93777ba
> Following parent with do_switch
> Successfully followed parent
> r143 = a4861b50a5f1c067210b30951dc06012a7d2da25 
> (refs/remotes/tags/LastGuiMonolit_071207)
> fatal: refs/remotes/trunk: not a valid SHA1
> update-ref refs/heads/master refs/remotes/trunk: command returned error: 128

Is your repository public? If not, could you give a sketch of the project history, for example by running

 $ git log --oneline --name-status
from a successful (non-stdlayout) clone?
> note: although i am using ms-windows7 i mailed this report to the debian 
> mailing-list because i think that  

Redirecting discussion to the git mailing list; maybe someone there will have other ideas for debugging.

Thanks for reporting, Jonathan

Next: Jonathan Nieder
Message 1 of 2 in “Re: git-svn clone --stdlayout causes "fatal: refs/remotes/trunk: not a valid SHA1"”
  1. Jonathan NiederNov 1, 2010
  2. Jonathan NiederNov 1, 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.