FaqSubversionTopFolder
How can I avoid checking out top folder from a repository? Can I use another name for it?
Layouts of Subversion repositories can differ. For example, a repository may be laid out as follows:
/ project trunk/ src/ test/ branches/ src/ test/ tags/ src/ test/
Scenario: I want to checkout content from the trunk folder directly into the Project directory in my working copy. However, I want to avoid creation of the trunk folder in the Project directory.
- Invoke the Checkout wizard, set up all necessary fields and click Next.
- In step 2 of the wizard, set the Repository Folder(s) field to project/trunk.
- Select the Checkout only folder content option. (In NetBeans IDE 6.x: Skip <folder_name> and checkout only its content.)
- Set the Local Folder field to /desired_path/Project and click Finish.
The content of the trunk folder is checked out into the /desired_path/Project directory without creating trunk as the top folder in the working directory.