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.

  1. Invoke the Checkout wizard, set up all necessary fields and click Next.
  2. In step 2 of the wizard, set the Repository Folder(s) field to project/trunk.
  3. Select the Checkout only folder content option. (In NetBeans IDE 6.x: Skip <folder_name> and checkout only its content.)
  4. 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.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo