views:

22

answers:

1

Is it possible to have 1 workspace which contains different branched copies of the same project? Say I have Project1, and it is in this structure:

/trunk/Project1
/branches/1/Project1
/branches/2/Project1

Can I have 3 instances of Project 1 in the same workspace, where each eclipse project points to either the trunk or one of any branches? Basically I am just wondering if I have to avoid creating a new workspace for each branch.

+1  A: 

Yeah you can. Simply right click the desired project you wanna checkout in the svn repository view and select Find/Check Out As... and give the project a unique name.

z00bs
That is one way. However if anything depends on the project folder having a specific name this could be problematic.
Zombies
Of course. But since I didn't see this precondition in your question I didn't take it into account.
z00bs
Eclipse itself doesn't support having projects with the same name in the same workspace. If that is a requirement for you, you'll need different workspace. Subversion isn't imposing that requirement though.
Jeanne Boyarsky