Re: latest update to git-svn blows up for me

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



"Randal L. Schwartz" <merlyn@xxxxxxxxxxxxxx> wrote:
> >>>>> "Eric" == Eric Wong <normalperson@xxxxxxxx> writes:
> 
> Eric> "Randal L. Schwartz" <merlyn@xxxxxxxxxxxxxx> wrote:
> >> >>>>> "Eric" == Eric Wong <normalperson@xxxxxxxx> writes:
> >> 
> Eric> "Randal L. Schwartz" <merlyn@xxxxxxxxxxxxxx> 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 187

Can you try:

git update-ref refs/remotes/git-svn \
  <last commit successfully imported from git-svn>

and running rebuild again?

-- 
Eric Wong
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]