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

4 messages from 2009-05-12 to 2009-05-13. Participants: Michael Gaber, Michael J Gruber.
Thread: https://gitlist.dev/t/19320

## Michael Gaber, 2009-05-12 19:58

Subject: [git-svn] howto select a part of the tree
Message-ID: <4A09D4EC.6050002@gmx.net>
URL: https://gitlist.dev/e/4A09D4EC.6050002%40gmx.net

```
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

```

## Michael J Gruber, 2009-05-13 12:51

Subject: Re: [git-svn] howto select a part of the tree
Message-ID: <4A0AC23E.2040503@drmicha.warpmail.net>
URL: https://gitlist.dev/e/4A0AC23E.2040503%40drmicha.warpmail.net
In-Reply-To: <4A09D4EC.6050002@gmx.net>

```
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

```

## Michael Gaber, 2009-05-13 17:21

Subject: Re: [git-svn] howto select a part of the tree
Message-ID: <4A0B01AF.2040908@gmx.net>
URL: https://gitlist.dev/e/4A0B01AF.2040908%40gmx.net
In-Reply-To: <4A0AC23E.2040503@drmicha.warpmail.net>

```
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.

```

## Michael J Gruber, 2009-05-13 20:38

Subject: Re: [git-svn] howto select a part of the tree
Message-ID: <4A0B2FAB.10801@drmicha.warpmail.net>
URL: https://gitlist.dev/e/4A0B2FAB.10801%40drmicha.warpmail.net
In-Reply-To: <4A0B01AF.2040908@gmx.net>

```
Michael Gaber venit, vidit, dixit 13.05.2009 19:21:
> 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

```
