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

  • Home
  • SEARCH
  • 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 6471065
In Process

The Archive Base Latest Questions

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

Here is my dilemma: I want to checkout a single directory (let’s call it

  • 0

Here is my dilemma:

I want to checkout a single directory (let’s call it A) from SVN, but be able to do and svn up A from the parent directory on the computer is checked out on.

i.g. I am on in ~/coolstuff I want do do a checkout of A and put it in ~/coolstuff and when I am in ~/coolstuff I want to issue svn up and have it update A.

Here is a trick to do this in a basic scenario:
In SVN A’s parent directory is Z. I do an SVN checkout of Z in ~/coolstuff. I then mv ~/coolstuff/Z/.svn to ~/coolstuff. Walla I can do a svn up and it works and it will pull down A inside of ~/coolstuff.

My scenario:
I do the same thing above, except the problem is that Z not only has the child A, but it also has the child B. So a svn up in ~/coolstuff will pull down A and B. But I don’t want B to be pulled down.

Here is the solution:
I edit ~/coolstuff/.svn/entries and removed the reference to B. Now svn doesn’t see B, only A.

The solution above still initial pulls down A when I do the first checkout, I don’t want to do this. It also seems very hack-ish. Is there a better/cleaner way to do this, and hopefully not have to pull down “B” at all?

  • 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-25T06:10:56+00:00Added an answer on May 25, 2026 at 6:10 am

    I think this is what you want to do:

    svn co --depth empty file://path/to/A-B/parent coolstuff
    cd coolstuff
    svn up A
    

    Now you can do an svn up from within coolstuff to update A without pulling in B automatically.

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

Sidebar

Related Questions

Here's my dilemma: I want users to be able to load images to a
Here's my dilemma... I want to be able to split a string that would
I'm not sure if I phrased that correctly but here's my dilemma. I inherited
So here is my dilemma, I want to handle view events on my view
Here is my dilemma: I have an XML, where I want to insert animation_sequence,however,
So here is my dilemma: I have a base class (Let's say a generic
Here is my dilemma. I have a collection of entities that I want to
I feel like I skipped a C# class or two, but here's my dilemma:
I have a bit of a dilemma here. I have a drupal 7 database
Here is the script I'm using, copied directly from Google: <script type=text/javascript> var _gaq

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.