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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T20:14:23+00:00 2026-05-28T20:14:23+00:00

My project directory inside trunk has been accidentally deleted by another user. I can

  • 0

My project directory inside trunk has been accidentally deleted by another user.

I can see my project when browsing it through the web at one revision (364), but the top of the tree it is missing (370)

How do I undo those commits and get my source tree back using the command line subversion client?

EDIT:

Thanks for all the hints. It was a combination of answers that helped me solve it. Although Avi’s answer is the closest to the one that allowed me to restore the source tree. So I’ll accept that. Although to be totally correct, below is what worked for me since even the trunk directory was eventually removed!

Final solution was:

svn cp https://xxx.xxx.xxx/url/trunk@364 https://xxx.xxx.xxx/url

I then checked this out locally:

svn co https://xxx.xxx.xxx/url/trunk

Copied my changes into this. Double check it builds without issues.
Followed by:

svn up
svn commit
  • 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-28T20:14:24+00:00Added an answer on May 28, 2026 at 8:14 pm

    You can copy it back to the current revision:

    svn cp -r<revision where it existed> <project-url> <project-url>
    

    EDIT:

    Note that if you have changes to your working copy, you need to take care that they don’t get overwritten when updating the working copy.

    In this case, I suggest you copy them somewhere safe, then doing the svn cp I suggested above, and doing svn up to update your copy, before copying your local changes back in and committing.

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

Sidebar

Related Questions

I have a project directory which has an .acignore file containing: out/* The project
What is true is that Solr project directory is inside MyProject parent directory (but
I have a project in a directory projects/projectA. it has a corresponding subversion repository.
I usually format my project directory like J-P Boodhoo. a main dir containing solution
In my project directory, top level, I have Icon.png. Double-checked in Photoshop, it's 57x57.
I am trying to come up with a best practices on project directory structure.
My Django project's directory hierarchy looks like this: + pybsd |---+ devices |---+ templates
I've started a directory project in C#.NET where I'm editing an xml file and
I want to create a business directory project. I want to start two businesses
I try to add Message.framework to my project frameworks directory. After that I compile

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.