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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T22:10:39+00:00 2026-05-15T22:10:39+00:00

I don’t know exactly how it happened, but I have a versioned .svn directory

  • 0

I don’t know exactly how it happened, but I have a versioned “.svn” directory
in my repository. Don’t ask me how it got there.
If I tell svn to delete it, it does not want to, since .svn is a reserved argument.

Force does not work.

Any ideas?

EDIT:
Ok I solved it by svn rm ing the parent directory and adding it back in.

Still, If someone knows the clean solution to this, it would be highly appreciated.

CLARIFICATION:

svn delete <repo url>/foo/.svn

Does not work. I think I tried every simple combination of commands and arguments.
I am pretty sure, that if that is doable, it is a hack.
I know of the method: dump -> modify dump with tool -> reimport
but that is as scary as hell. This is not git, if you whack an svn repo,
you/it stays whacked.

  • 1 1 Answer
  • 2 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-15T22:10:39+00:00Added an answer on May 15, 2026 at 10:10 pm

    “svn rm” with a URL seems to work fine, I just tried it (using svn 1.6.5, Mac OS X):

    $ svn ls -R file:///xxx/testrepo
    foo/
    foo/.svn/
    foo/.svn/baz
    foo/bar/
    foo/bar/baz
    
    $ svn rm -m 'Yes it works.' file:///xxx/testrepo/foo/.svn
    Committed revision 6.
    
    $ svn ls -R file:///xxx/testrepo
    foo/
    foo/bar/
    foo/bar/baz
    

    You can also use “svn mv”, no need to delete anything:

    $ svn ls -R file:///xxx/testrepo
    foo/
    foo/.svn/
    foo/.svn/baz
    foo/bar/
    foo/bar/baz
    
    $ svn mv -m 'Rename works too.' file:///xxx/testrepo/foo/.svn \
        file:///xxx/testrepo/foo/dotsvn
    Committed revision 8.
    
    $ svn ls -R file:///xxx/testrepo
    foo/
    foo/bar/
    foo/bar/baz
    foo/dotsvn/
    foo/dotsvn/baz
    

    PS. Creating “.svn” directories in svn repositories is easy: just use svn cp or svn mv with URLs.

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

Sidebar

Related Questions

Don't ask how I got there, but I was playing around with some masking,
Don't ask me how but I'm in a situation where I have DCPs published
Don't know how to google for such, but is there a way to query
Don't ask why but I have the requirement to draw a border around certain
Don't ask why, but is there any way to suppress a failed linking error?
Don't know whats exactly going on, but it's definitely killing my time for nothing.
Don't know if this is the right place to ask this, but I will
Don't know where else to ask, but from one day to the other my
Don't know why but I can't find a solution to this. I have 3
DON'T ASK WHY but... I have a regex that needs to be case insensitive

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.