Re: latest update to git-svn blows up for me
"Randal L. Schwartz" <merlyn@stonehenge.com> wrote:
Show 31 quoted lines
> >>>>> "Eric" == Eric Wong <normalperson@yhbt.net> writes:
>
> Eric> "Randal L. Schwartz" <merlyn@stonehenge.com> wrote:
> >> >>>>> "Eric" == Eric Wong <normalperson@yhbt.net> writes:
> >>
> Eric> "Randal L. Schwartz" <merlyn@stonehenge.com> wrote:
> >> >>
> >> >> Does this ring a bell?
> >>
> Eric> Nope.
> >>
> Eric> This is on r15941 of https://svn.perl.org/parrot/trunk ? I can't seem
> Eric> to reproduce this with git svn fetch -r15940:15941
> >>
> >> No, and that worked for me as well. Apparently, I might have corrupted my
> >> metadata because I updated git-svn while I was using it. Is there any way to
> >> reset the metadata without having to re-fetch 15000 revisions?
>
> Eric> rm .git/refs/remotes/$GIT_SVN_ID .git/svn/$GIT_SVN_ID/.rev_db
> Eric> git svn -i $GIT_SVN_ID rebuild
>
> That's not working:
>
> localhost.local:..RROR/parrot-GITSVN % git-svn -i git-svn rebuild
> fatal: 'origin': unable to chdir or not a git archive
> fatal: unexpected EOF
> Failed to find remote refs
> 256 at /opt/git/bin/git-svn line 2151
> main::safe_qx('git-ls-remote', 'origin', 'refs/remotes/git-svn') called at /opt/git/bin/git-svn line 3404
> main::copy_remote_ref() called at /opt/git/bin/git-svn line 226
> main::rebuild() called at /opt/git/bin/git-svn line 187Can you try:
git update-ref refs/remotes/git-svn \
<last commit successfully imported from git-svn>
and running rebuild again?