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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T06:30:19+00:00 2026-05-20T06:30:19+00:00

I needed to rename a SVN branch, so I did: $ svn move https://server/repos/myrepo/branches/oldbranch

  • 0

I needed to rename a SVN branch, so I did:

$ svn move https://server/repos/myrepo/branches/oldbranch \
    https://server/repos/myrepo/branches/newbranch

So far, so good — the branch has been renamed.

The trouble is, we have existing sandboxes checked out from this branch and when I try to update I get this error:

$ svn update
svn: Target path '/branches/oldbranch' does not exist

A fairly self-explanatory error. After a quick search I thought I had found the solution: Relocating SVN working copy following branch rename

The trouble is, that when I try to issue that command I get another error:

$ svn switch --relocate https://server/repos/myrepo/branches/oldbranch \
    https://server/repos/myrepo/branches/newbranch
svn: Relocate can only change the repository part of an URL

As far as I can see, I am using the --relocate command the same way as Sander Rijken. Any ideas why I get this error?

  • 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-20T06:30:24+00:00Added an answer on May 20, 2026 at 6:30 am

    Just do

    svn switch https://server/repos/myrepo/branches/newbranch
    

    from within your working copy.

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

Sidebar

Related Questions

I needed to rename a path within my svn repository. How do I resync
How can I simplify this code? if needed I can rename the .php files
I've written a small script that I needed to rename and sort files in
I want to rename the files in a directory to sequential numbers. Based on
I downloaded the zend framework 1.10 full. Unzipped, rename this folder to zf. I
thanks to zoul for sharing his openal avaudioplayer alternative!! its exactly what i needed,
I am trying the db4o object databse and so far I quite like what
I don't use coldfusion much at all, I'm needed to patch up some code
I needed a mechanism in Python using which I could detect whether a file
I've renamed my android app package via Android Tools -> Rename Application Package, but

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.