* git-svn repo in weird state
@ 2011-08-18 14:14 Dave Zarzycki
2011-08-18 14:22 ` Dave Zarzycki
0 siblings, 1 reply; 3+ messages in thread
From: Dave Zarzycki @ 2011-08-18 14:14 UTC (permalink / raw)
To: git
I have a local git-svn repository that is now in a weird state and would any tips for how to debug this. Thanks!
davez
$ git --version
git version 1.7.6
$ git checkout master
warning: refname 'master' is ambiguous.
Already on 'master'
$ git show-ref | grep master
d510ee7a969c908a20ab8abab08dd3ad09870508 refs/heads/master
$ git svn rebase
warning: refname 'master' is ambiguous.
First, rewinding head to replay your work on top of it...
Fast-forwarded master to refs/remotes/svn/trunk.
error: Ref refs/heads/master is at d510ee7a969c908a20ab8abab08dd3ad09870508 but expected 014cd21f9f6e88e4515ed99c632308a954085a34
fatal: Cannot lock the ref 'refs/heads/master'.
Could not move back to refs/heads/master
rebase refs/remotes/svn/trunk: command returned error: 1
$
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: git-svn repo in weird state
2011-08-18 14:14 git-svn repo in weird state Dave Zarzycki
@ 2011-08-18 14:22 ` Dave Zarzycki
2011-08-19 9:54 ` Michael J Gruber
0 siblings, 1 reply; 3+ messages in thread
From: Dave Zarzycki @ 2011-08-18 14:22 UTC (permalink / raw)
To: git
After introspecting the .git directory, it seems like a stale .git/master was created somehow. Why does git-show-ref not show .git/master as a ref?
On Aug 18, 2011, at 10:14 AM, Dave Zarzycki wrote:
> I have a local git-svn repository that is now in a weird state and would any tips for how to debug this. Thanks!
>
> davez
>
>
>
> $ git --version
> git version 1.7.6
> $ git checkout master
> warning: refname 'master' is ambiguous.
> Already on 'master'
> $ git show-ref | grep master
> d510ee7a969c908a20ab8abab08dd3ad09870508 refs/heads/master
> $ git svn rebase
> warning: refname 'master' is ambiguous.
> First, rewinding head to replay your work on top of it...
> Fast-forwarded master to refs/remotes/svn/trunk.
> error: Ref refs/heads/master is at d510ee7a969c908a20ab8abab08dd3ad09870508 but expected 014cd21f9f6e88e4515ed99c632308a954085a34
> fatal: Cannot lock the ref 'refs/heads/master'.
> Could not move back to refs/heads/master
> rebase refs/remotes/svn/trunk: command returned error: 1
>
> $
>
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-19 9:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-18 14:14 git-svn repo in weird state Dave Zarzycki
2011-08-18 14:22 ` Dave Zarzycki
2011-08-19 9:54 ` Michael J Gruber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox