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

Re: Split a subversion repo into several git repos

From
ELEivind LM <eivliste@online.no>
Date
Oct 12, 2007, 14:47 UTC
Message-ID
<op.tz290yyfjwclfx@ichi>
In-Reply-To
<1B9700E6-5DFB-443D-9465-30E0DCAD0619@steelskies.com>

On Fri, 12 Oct 2007 16:23:44 +0200, Jonathan del Strother <maillist@steelskies.com> wrote: [...]

Show 16 quoted lines
>>
>>  $ git-svn init -b eivindlm/branches \
>>                 -t eivindlm/tags \
>>                 -T eivindlm/trunk/src/probesimulator \
>>                 file:///svn-repo/
>> , which prints the happy message:
>>  Initialized empty Git repository in .git/
>>
>> The next command is unfortunately not as happy:
>>  $ git fetch
>>  fatal: 'origin': unable to chdir or not a git archive
>>  fatal: The remote end hung up unexpectedly
>>  Cannot get the repository state from origin
>
>
> I believe you actually wanted "git-svn fetch" here
You are right, that solved the problem :)

So both methods work now, apparently giving the same result. Is there a difference between the fetch- versus the clone-approach? I am doing this as a once-and-for-all import, and would like to forget everything about the subversion repository afterwards.

Thanks, Eivind

Previous: Jonathan del StrotherNext: Sam Vilain
Message 10 of 11 in “Split a subversion repo into several git repos”
  1. Eivind LMOct 11, 2007
  2. Patrick DoyleOct 11, 2007
  3. Eivind LMOct 12, 2007
  4. Jonathan del StrotherOct 11, 2007
  5. Patrick DoyleOct 11, 2007
  6. Karl HasselströmOct 11, 2007
  7. Sam VilainOct 11, 2007
  8. Eivind LMOct 12, 2007
  9. Jonathan del StrotherOct 12, 2007
  10. Eivind LMOct 12, 2007
  11. Sam VilainOct 12, 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.