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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T23:26:34+00:00 2026-05-10T23:26:34+00:00

This afternoon, upon noticing a broken build and the fact that some files looked

  • 0

This afternoon, upon noticing a broken build and the fact that some files looked like very old versions (about 2 weeks old), I checked the svn log. Apparently just this afternoon, 1 of the developers did an ‘svn copy’ of a directory from an older revision to the same directory. Thus it appears that the latest version ‘i.e. head’ of all the files in that directory are really old, and all the history ‘i.e. log’ is even older.

However, I think I can recover by using another ‘svn copy’ (i.e. the disease is the cure). What I am considering doing is finding the revision where the bad ‘svn copy’ was done (say rev 1234) , subtracting 1 (1233) and doing:

svn copy -r 1233 file://path/to/messed/up/dir file://path/to/messed/up/dir 

That should restore the latest version, as well as get back all my history. Am I right about this?

  • 1 1 Answer
  • 1 View
  • 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-10T23:26:34+00:00Added an answer on May 10, 2026 at 11:26 pm

    According to the SVN book,

    svn merge -c -1234 

    should do the trick.

    There’s a whole section about this in the book.

    The verbose explanation: -c -1234 translates into -r 1234:1233, which reverts the change from revision 1234.

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

Sidebar

Related Questions

I started a new project this afternoon and now that I've decided to write
I have had that weird error this afternoon... I cannot figure out why System.Data
This seems to have happened at some point this afternoon. First of all, my
I spent a few hours this afternoon trying to get an old iOS app
I've been coding in Inno Setup this afternoon and I read some Pascal documentation
I was writing some code this afternoon, and stumbled across a bug in my
I'm looking for a solution to a strange problem I stumbled upon this afternoon.
So I took some time this afternoon to finally sit down and begin reading
I noticed something very interesting this afternoon - when I clear my browser cache
It seems that, since this afternoon, the VS2010 debugger will occasionally start checking for

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.