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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:30:45+00:00 2026-05-11T07:30:45+00:00

In the current project I am working in, someone decided that binary files be

  • 0

In the current project I am working in, someone decided that binary files be checked in as part of the source tree. The binaries live in a directory beneath the sources themselves:

project/src             # Here is the location of the source code project/src/more_src    # Some more source code lives here project/src/bin         # Here are the binary files 

As you can imagine, merge conflicts happen all the time because of this. It’s quite annoying since I do not feel that any developer’s machine should be committing the binaries – this should be left to the build server.

I am a command-line user of subversion. I would like to ignore the bin directory so that when I use svn st and svn ci these directories are skipped (even if there are pending changes).

Unfortunately, I cannot use -N (non-recursive) because of the more_src directory.

How can I accomplish this?

  • 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. 2026-05-11T07:30:46+00:00Added an answer on May 11, 2026 at 7:30 am

    edit: subversion 1.6 has been released. From the release notes:

    In Subversion 1.6, the –set-depth parameter to svn update has grown a new value—exclude. This value tells Subversion to exclude the target from the working copy, immediately and until further notice. Prior to Subversion 1.6, if a directory could not easily be removed from a working copy. …

    All the stuff below is obsolete now.


    You could limit the depth of the folders in your working copy in the right places so that the undesired files don’t appear as versioned files. You can’t reduce the depth in an existing working copy though.

    1) Checkout a clean working copy like this (it will contain only files and empty folders in the root):

    svn co –depth immediates repoURL /some/wc/path

    2) Now for each folder that you DON’T want to ignore, pull in the content with

    svn update --depth infinity /some/good/path 

    If the folder with content to ignore is not in the root of your working copy, you can work your way down the tree gradually with repeated calls to

    svn update --depth immediates /some/path/to/make/deeper 

    This approach does have a disadvantage. If the files to ignore appear in your working copy through your own actions (e.g. build), they will show up in svn status as unversioned files. You can even svn add them and cause ‘file already exists’ commit errors.


    edit: Apparently you CAN reduce the depth of parts of your working copy, which is much simpler:

    1. normal project checkout (or start from existing working copy)
    2. delete undesired folder (normal filesystem delete, not svn rm). At this point the folder is missing and would return with all it’s evil content if you did a normal update.
    3. bring back the folder with

    svn update –depth empty /path/where/deleted/folder/was

    Now you can do svn update of the entire project but the bad content will not return.

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

Sidebar

Ask A Question

Stats

  • Questions 118k
  • Answers 118k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer LINQ defines an extension method that is perfect for solving… May 11, 2026 at 11:32 pm
  • Editorial Team
    Editorial Team added an answer You need to include the helpers reference; using NerdDinner.Helpers; and… May 11, 2026 at 11:32 pm
  • Editorial Team
    Editorial Team added an answer The answer by Ber - storing it in threadlocals -… May 11, 2026 at 11:32 pm

Related Questions

Am working on a business layer for a complex web application and am temporary
So I am working on a project which uses ASP.NET. I am trying to
I reference another eclipse project from the current project I am working on. Everything
I am working on a library where we want to determine how much of

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.