Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6140383
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T18:06:42+00:00 2026-05-23T18:06:42+00:00

I have a subversion repository, and I would like to create a branch, but

  • 0

I have a subversion repository, and I would like to create a branch, but the repository does not have the canonical directory structure of /trunk, /branches and /tags – it just has everything that should be in /trunk, in the root folder.

Am I screwed, or is there some way to correct the directory structure (or to create a branch within the existing directory structure)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T18:06:43+00:00Added an answer on May 23, 2026 at 6:06 pm

    Try something along the lines of

    $ svn mkdir $REPO/{trunk,tags,branches}
    $ for f in $(svn ls $REPO |grep -v 'trunk/$\|tags/$\|branches/$'); do
    `   svn mv "$f" $REPO/trunk
    ` done
    $ svn cp $REPO/trunk $REPO/branches/branch0
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a subversion repository with the standard layout, i.e. trunk/ and branches/ (and
Currently we have a project with a standard subversion repository layout of: ./trunk ./branches
I have a repository whose layout is like this: trunk/ projectA projectB branches/ projectA-1.0
We have a subversion repository with top-level projects, each projects with trunk/branches/tags. And now
Subversion 1.6 Ubuntu 10.4 I have a project with the following repository layout. proj/trunk
I may have found a Subversion bug, and I would like to make sure
I am new to git, and have a subversion repository that I want to
I'm working on mac OS x 10.4 . I have a subversion repository stored
At my workplace we have one large Subversion repository which holds about 100 projects.
I have a docs folder in a Subversion repository named project. I've come to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.