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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:52:47+00:00 2026-05-15T19:52:47+00:00

I recently had a corrupted object in my repository, pointing on my HEAD (the

  • 0

I recently had a corrupted object in my repository, pointing on my HEAD (the object was empty) . It happened after interrupting a git-svn command. Then, I restored my repository by changing manually the refs on this object.

Now, I want to synchronize my git repository with SVN, but git svn fetch returns:

fatal: Invalid revision range 5a5dc92cd3083960fb4828ae387a32cda0554fa8..refs/remotes/a-branch
rev-list --pretty=raw --no-color --reverse 5a5dc92cd3083960fb4828ae387a32cda0554fa8..refs/remotes/a-branch --: command returned error: 128

5a5dc92cd3083960fb4828ae387a32cda0554fa8 refers to the corrupted object, I would like to say git-svn not to consider this object but another one, but I do not know how to hack this.

If anyone knows where/how git-svn internally stores this value it would be great.

Thank you

  • 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-15T19:52:48+00:00Added an answer on May 15, 2026 at 7:52 pm

    if you have svn metadata stored with your commit messages (those http://svn.…./svn/trunk@r12331 (<id>)), you can delete the .rev_map.<id> files from the .git/svn/… directories.

    git-svn will then re-create them before running the next command.

    Edit:
    When running git gc if you see output along the lines of:

    $ git gc
    warning: reflog of 'HEAD' references pruned commits
    warning: reflog of 'refs/heads/master' references pruned commits
    warning: reflog of 'refs/remotes/trunk' references pruned commits
    

    Then you know that you need to perform the above trick. In this case:

    rm .git/svn/refs/remotes/trunk/.rev_map.*
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

recently I had an error, which was caused by a corrupted AndroidManifest.xml file. Is
I've recently had to uninstall/re-install my .NET Framework 4 after finding my current installation
I recently had to reinstall subversion on my hosting account. The repository I had
I recently had to use a GPS location API where each location object had
I recently had an issue after upgrading my .net framework to 4.0 from 3.5:
We recently had a problem with an application upgrade on Android Market. Namely, after
We recently had an issue where a ColdFusion scheduled task didn't resume after a
We recently had a problem where, after a series of commits had occurred, a
Recently had an interviewer ask to define the difference between objects and primitives. Seemed
I recently had to do a PC Recovery on my Windows XP. Visual Studio

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.