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

Re: git svn clone a non-standard repository

From
JLJohn Locke <mail@freelock.com>
Date
Jun 26, 2008, 18:39 UTC
Message-ID
<4863E261.8040508@freelock.com>
In-Reply-To
<4863E01E.9050108@freelock.com>
Sorry to respond to my own post, but this section looks wrong:
John Locke wrote:
Show 11 quoted lines
>
>
> Now the tricky part: I checked out a new "work" branch, and deleted 
> everything in the working copy. Then, 4 steps out of the howto, 
> adjusted to pull the particular branch from the current repository 
> (instead of an outside one):
>
> git remote add -t dojo -f dojo ./
> git merge -s ours --no-commit dojo-trunk
> git read-tree --prefix=dojo/ -u dojo-trunk
> git commit -m "merge dojo into subdirectory"

... since I added the remotes as svn-remote sections directly in git-config, I skipped that first line.

I'm going to write this all up on my blog when I get it working correctly...
Cheers,
-- 
John Locke
"Open Source Solutions for Small Business Problems"
published by Charles River Media, June 2004
http://www.freelock.com
Previous: John LockeNext: John Locke
Message 4 of 5 in “git svn clone a non-standard repository”
  1. John LockeJun 24, 2008
  2. Michael J GruberJun 25, 2008
  3. John LockeJun 26, 2008
  4. John LockeJun 26, 2008
  5. John LockeJun 27, 2008

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.