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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T08:45:52+00:00 2026-05-16T08:45:52+00:00

I have a Subversion working copy with at least one missing file (the local

  • 0

I have a Subversion working copy with at least one missing file (the local copy got removed while fixing a tree conflict). It’s funny because the file is versioned, it appears in the repository, the tree conflict resolution was 100% local (it happened on update and I didn’t commit afterwards) and I’ve run “svn cleanup” several times but none of my Subversion clients (command line svn and TortoiseSVN) can detect the working copy is corrupted. Not even reverting all changes got the file back.

I’ll fix it as usual (fresh checkout somewhere else and copy changes with WinMerge); I actually have a different question:

How can you test the validity of a working copy?

Of course, you can always check out a new copy and use a file compare utility but… isn’t there a better way? Is there a tool to verify a working copy equivalent to svnadmin verify?

=== UPDATE ===

I’ve got nice answers with tricks to prevent working copy corruption but my question was more on the line of finding a method to be 100% sure that the working copy is both coherent and linked with the actual repository contents; in other works, a working copy equivalent of the svnadmin verify command.

So far, it looks like:

  • Subversion doesn’t provide such tool and it’s possible that the SVN data format does not even allow to write one.

  • Updating to a revision is a technique that seems to find (and fix) some issues, although you often need to revert back and forth to an old revision and I suppose it can only detect missing files if they have been changed in the revision range.

  • Checking out a fresh working copy looks like the only 100% reliable method.

  • 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-16T08:45:52+00:00Added an answer on May 16, 2026 at 8:45 am

    So far, I’ll have to assume that there isn’t a reliable way to do it unless you do a new commit and compare both directory trees. If a .snv directory is missing data but is not actually damaged, there just isn’t enough information in the working copy to detect some files are gone.

    While it’s possible that WC-NG changes this for better (or not), current format is not that rock-solid.

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

Sidebar

Related Questions

If I have a working copy of a Subversion repository, is there a way
Got something going on I can't explain. I have a working copy of my
I have a working copy that I cannot check in due to a conflict.
I have a subversion working copy checked out into the directory my-project/ I want
I still very new using Subversion. Is it possible to have a working copy
I have been working with the same Subversion working copy as a sub-directory of
I have a working copy of my project, checked out using Subversion 1.5.1. When
I have a working WAMP environment (Apache Friends). I decided to try Subversion and
I have two copies of a site, one is the production copy, and the
On my server I have subversion installed, but I accidently removed the .svn folder

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.