Re: latest update to git-svn blows up for me
From: Eric Wong <hidden>
Date: 2016-08-11 20:35:11
"Randal L. Schwartz" [off-list ref] wrote:
quoted
quoted
quoted
quoted
quoted
"Eric" == Eric Wong [off-list ref] writes:Eric> "Randal L. Schwartz" [off-list ref] wrote:quoted
quoted
quoted
quoted
quoted
quoted
quoted
"Eric" == Eric Wong [off-list ref] writes:Eric> "Randal L. Schwartz" [off-list ref] wrote:quoted
quoted
quoted
quoted
Does this ring a bell?Eric> Nope.quoted
quoted
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:15941quoted
quoted
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? --