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

Re: [git-svn] howto select a part of the tree

From
Michael J Gruber <git@drmicha.warpmail.net>
Date
May 13, 2009, 20:38 UTC
Message-ID
<4A0B2FAB.10801@drmicha.warpmail.net>
In-Reply-To
<4A0B01AF.2040908@gmx.net>
Michael Gaber venit, vidit, dixit 13.05.2009 19:21:
Show 43 quoted lines
> Michael J Gruber schrieb:
>> Michael Gaber venit, vidit, dixit 12.05.2009 21:58:
>>> Hi,
>>>
>>> I have the following setup and would like to know it my thought workflow 
>>> would be easily doable with git-svn.
>>>
>>> I have a repository which contains at the moment 5 eclipse projects. two 
>>> of them are directly in the svn root and i'm not interested in them. the 
>>> other three are mine and I'd like to use them as separate eclipse 
>>> projects as i currently do when i check them out as seperate projects 
>>> into the workspace with subversive.
>>>
>>> is this possible or should i just forget it.
>>>
>>> Regards Michael
>>
>> It is possible. I you want more detailed answers we would need more
>> detailed info (structure of the svn repo).
>>
>> Cheers,
>> Michael
> 
> Sorry I forgot.
> Structure is as follows:
> 
> repo-root
> |
> |--otherstuff-1
> |
> |--otherstuff-2
> |
> |--trunk
>       |
>       |--myproj-1
>       |
>       |--myproj-2
>       |
>       |--myproj-3
>       |
>       |--myproj-4
> 
> I hope this makes it clear.
No branches nor tags? In that case you can simply
git svn clone url-to-the-svn-repo/repo-root/trunk/myproj-1

etc. and have individual git svn repos. You can do similarly for the ones right below root.

Cheers, Michael

Previous: Michael Gaber
Message 4 of 4 in “[git-svn] howto select a part of the tree”
  1. Michael GaberMay 12, 2009
  2. Michael J GruberMay 13, 2009
  3. Michael GaberMay 13, 2009
  4. Michael J GruberMay 13, 2009

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.