[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

RFC: Implementing "check out into existing project"

From: Jochen Kuhnle <lists_at_kuhnle.net>
Date: 2005-04-12 19:19:11 CEST


ok, I'm giving it a try. The goal is to get a "check out into existing
project" feature as in the CVS plugin. I see two possible solutions that I
would like to put up for discussion:

1. Do it like the CVS plugin: When it checks out into a subfolder, it
creates CVS directories for every folder between the target folder and the
project root folder. These directories contain a "Repository" file with
the special entry "CVSROOT/EmptyDir" for repository (Does anybody know if
this is a CVS standard or just something the eclipse guys came up with? If
it's a standard, is there something equivalent in SVN?) Anyway, we could
do the same and create .svn directories, where the entries file contains a
"special repository" for the directory, either "" or something like

Advantages: Close to the CVS plugin, less changes to the SVN plugin
Disadvantages: Non-Standard, the SVN client may choke on our "special

2. Create no ".svn" directories between the root and checked out folder.
This means that only managed folders have a ".svn" directory, while some
other folders, and the project itself may not have them.

Advantages: No "special repository", SVN standard
Disadvantages: I think this imposes major changes on the plugin, since it
expects repository information attached the project and every folder. We
certainly would be further away from the CVS plugin.

Comments and corrections welcome!

Received on Wed Apr 13 03:19:11 2005

This is an archived mail posted to the Subclipse Dev mailing list.