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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T17:47:16+00:00 2026-05-17T17:47:16+00:00

I know how I got here: I tried to add an entire directory tree

  • 0

I know how I got here: I tried to add an entire directory tree to my repository, but one of the subdirectories I did not have write permissions. So when I did svn add, I got errors (which I didn’t record, sorry.)

Now, if I do svn status inside the directory I get a whole list of files. Yay! But when I try an svn commit I get the “directory locked” error. As instructed I run svn cleanup and am told that the directory I formerly didn’t have permissions on is “not a working copy directory”.

If I svn unlock –force, I am told the directory is locked.

This is my copy of the directory and there seems to be no way to commit it. When I did an SVN update on another working copy I got the directory but no other files. Again, when I run svn status in this working directory, I get the long list of files.

I’m afraid of the “delete and checkout” solution because I only have the top-level directory in the repository. I was trying to get these files in.

I’m concerned that if I recursively delete all the .svn directories in the subdirectories beneath this top-level directory, that I will create a bigger conflict. I don’t want to dig myself deeper into the hole.

Is there a way out from between the rock and the hard place? Also: is the fact that it was so easy to hose my repository evidence that I should be looking to replace SVN? Not having write permissions on a directory is a condition that software should fail gracefully under. I can’t guarantee it won’t happen again.

  • 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-17T17:47:17+00:00Added an answer on May 17, 2026 at 5:47 pm

    Start by making a full copy of your working directory.

    Move the problem working dir somewhere out of your svn tree. Update and commit. Delete the directory itself from your revision if it came back, and commit again. This should have resolved the conflict. Now recursively remove the .svn folders from the problem dir, and copy it back into the target location. Re-add it all to svn, and commit.

    Is it clumsy? Yes. Does it solve the problem? It should.

    Subversion tends to have some distinct areas that are problematic. You tend to learn to work around them as you use it. SVN and DVCS tend to have different use cases, and are suited to different project management styles. DVCS has its warts too.

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

Sidebar

Related Questions

I don't know if I have got this correct but what I am trying
Yea i know i'm way behind times but what i've got here is a
Somewhere some guy said (I honestly do not know where I got this from),
I have got a problem here in terminating the threads. The problem is that
I have tried to ask a variant of this question before. I got some
Here's the scenario: I've got a regular hyperlink on my .ascx. (no I have
I know this has be discussed over and over again here, but none of
I know this question has been asked numerous times but I've tried everything. I
Here is some code I don't understand, but I know it opens the link
I know this is a frequently asked question and I havent got a clear

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.