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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T11:09:59+00:00 2026-05-29T11:09:59+00:00

Suppose that my working copy ~/WC/ is up to date with http://acme.com/svn-rep/ A /.

  • 0

Suppose that my working copy ~/WC/ is up to date with http://acme.com/svn-rep/A/.
Now i would like that same working copy be up to date with http://acme.com/svn-rep/B/.
I have two options:

  1. svn switch http://acme.com/svn-rep/B/ ~/WC/
  2. rm -rf ~/WC/ && svn co http://acme.com/svn-rep/B/ ~/WC/

Obviously, the best case of option 1 is faster than then best case of option 2. But can there be a case where for the worst case, option 1 is slower than the worst case than option 2?

The reason i am asking is that i am writing a bunch of scripts to automate some testing, and i will need to work on several branches within the same repository. There is a limited amount of disk space on the test machines, so i will have to reuse the same working copy.

EDIT:

After reading the link in aix’s answer below, there appears to be a third option:

  • svn cleanup ~/WC/ && svn switch http://acme.com/svn-rep/B/ ~/WC/
  • 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-29T11:10:00+00:00Added an answer on May 29, 2026 at 11:10 am

    I haven’t personally experienced this, but it would appear that there could be performance issues with svn switch: Slow switch in subversion

    It’s hard to say whether rm && svn co would be faster or slower in those circumstances. I’d imagine this would depend on the relative performance of your local disk, network connection to the svn server etc.

    That said, I personally would probably use svn switch in the first instance, and would look into alternatives only if I run into problems.

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

Sidebar

Related Questions

Suppose I'm working on a MongoMapper class that looks like this: class Animal include
Backround: Suppose I have the following Git URLs (hosted on github) http://github.com/mikl/drupal.git git://github.com/mikl/drupal.git (Git
I have written a function that creates a barplot. I would like to save
Possible Duplicate: How can I downgrade the version of an SVN working copy? http://subversion.tigris.org/faq.html#working-copy-format-change
Suppose I have a local file that I am working on that is part
I have an HTTPListener (VB.NET) that is working and I'm trying to copy it
I'm working on a web application. I have entities that are supposed to be
Suppose that I have a database with student information: {'student_name' : 'Alen', 'subjects' :
Suppose that you have a function f: List a -> a such that f
Suppose I have a patch that can be applied with -p0, is there a

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.