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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T13:14:31+00:00 2026-06-13T13:14:31+00:00

I have a project I’m wanting to add to a new, empty SVN directory.

  • 0

I have a project I’m wanting to add to a new, empty SVN directory. I’ve checked out that SVN directory into the root of the project and now need to add all the files in that directory before committing.

However, one of the sub-directories (./sites/default/files) has a bunch of folders comprising 20 gigabytes of images. I do not want to add this folder to the working copy. Alas, it seems I cannot set the svn:ignore property on that directory because its parent is not yet version controlled — I get a “not a working copy” error when I do so:

$ svn propset svn:ignore files .
svn: '.' is not a working copy

Temporarily moving that directory below the project’s parent directory is not an option; the codebase is for a live site that I’m adding to SVN very late in the game.

How would I do what I’m wanting to do, assuming I don’t want to go through and manually add every single directory in the tree one-by-one?

Thanks!

  • 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-06-13T13:14:32+00:00Added an answer on June 13, 2026 at 1:14 pm

    Add the ./sites/default folder using the --depth=empty flag which will then allow you to add the files directory to svn:ignore.

    svn add --depth=empty ./sites/default
    

    then

    svn propset svn:ignore files .
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have project that consists of 8758 files. When I add them to my
I have project X, fully operational that compiles into X.exe I have project Y,
I have project Emle in Launchpad . I set it to import from emle.svn.sourceforge.net
I am very desperate now... I have project in Visual C++ 2010 using Qt
I have project that shows few tables and try to use JQuery dialog boxes
I have project that I'm working on that is going to require a webserver.
I have project with the following layout (Python 2.4.3) root +--- src +--- xyz
I have project that concerns about calendars, at first i have 1 calendar and
I have project containing few user controls (each represents a game, but that's irrelevant),
I have project of following struct A CMakeLists.txt B CMakeLists.txt C CMakeLists.txt I directory

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.