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 6221661
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T08:10:25+00:00 2026-05-24T08:10:25+00:00

Here’s my problem: I created three separate repos under one project. The repos are

  • 0

Here’s my problem: I created three separate repos under one project. The repos are “branches” and “trunk” and “tags”.

So I know I needed to delete them and have a single repository. I needed to move everything under trunk to the project. So I tried to do this remotely. First I checked out the project and then I deleted “branches” and “tags”, both of which were empty.

I did a svn delete and then commit. Next I wanted to get rid of trunk, but it already held files. So what I did was I copied those files into the directory above it:

cp -r trunk/* . 

Now I deleted the trunk:

svn delete trunk/

Okay, so now the project is empty after I did the commit. But I still have those important files that I copied out of the trunk. I want to put them under the project on the remote server, so I would have only one repository holding those files. But those local files still think they belong under the trunk repository, which was deleted. So I then issued this command, which I hoped would fix them:

svn switch --relocate \
svn+ssh://fkim@.../home/fkim/svn/aetv/trunk \
svn+ssh://fkim@.../home/fkim/svn/aetv 

But this did not change anything with those files. When I do svn status, I see that they have the ‘?’ next to them and if I try to add them, I am told that they are already under version control. What should I do? I need to get them all under the project on the remote server.

Please note that I am running everything on Linux. This is work I am doing at the command-line.

  • 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-24T08:10:26+00:00Added an answer on May 24, 2026 at 8:10 am

    relocate is used to make a working copy point to another URL, which also holds the repo of this working copy (i.e. when the SVN server changes and you don’t want to remove the working copy and check it out again).

    You seem to want to reimport new files into an empty repo. Except your new files are still “marked” as being part of a working copy.

    First checkout the empty trunk dir. This will create an empty working copy. The copy the old working copy to the new one, but remove all the .svn directories. This can be done using the export command. The add all the files and commit to import them into the repo.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's a problem I ran into recently. I have attributes strings of the form
Here's a coding problem for those that like this kind of thing. Let's see
Here's an interesting problem. On a recently installed Server 2008 64bit I opened IE
Here is my problem : I have a post controller with the action create.
Here my problem: @Assert\Regex( * pattern=/^[A-Za-z0-9][A-Za-z0-9\]*$/, * groups={creation, creation_logged} * ) I'm using the
Here is my code sample, let me know if it can be further improved?
Here is another spoj problem that asks how to find the number of distinct
Here is my problem...I have a page that loads a list of clients and
Here's a basic regex technique that I've never managed to remember. Let's say I'm
Here is the issue I am having: I have a large query that needs

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.