git-svn fetch/rebase failing after trying to repair a corrupted file

Viewed 3942

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 Answers
Related