threads / discuss / 19320

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

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

## tl;dr

4 messages between May 12, 2009 and May 13, 2009.

replies: 3people: 2as markdown or json

Michael Gaber· May 12, 2009, 19:58 UTC · lore
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· May 13, 2009, 12:51 UTC · re: Michael Gaber · lore

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

Michael Gaber venit, vidit, dixit 12.05.2009 21:58:
Show 14 quoted lines
> 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· May 13, 2009, 17:21 UTC · re: Michael J Gruber · lore

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

Michael J Gruber schrieb:
Show 21 quoted lines
> 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· May 13, 2009, 20:38 UTC · re: Michael Gaber · lore

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

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

← back to recent threads