threads / discuss / 43696

Re: git-svn breakage

Subject: Re: git-svn breakage

## tl;dr

2 messages between Dec 12, 2006 and Dec 12, 2006.

replies: 1people: 2as markdown or json

Dongsheng Song· Dec 12, 2006, 05:23 UTC · lore

git-svn breakage

Hi,
I am trying to use git-svn synchronize git with svn.

When git-fetch failed midway, and resumed later.The git-svn log output fine, but git-log output only before resumed.

How can I fix it ?
Any help greatly appreciated,
Eric Wong· Dec 12, 2006, 09:19 UTC · re: Dongsheng Song · lore
Dongsheng Song <dongsheng.song@gmail.com> wrote:
Show 8 quoted lines
> Hi,
> 
> I am trying to use git-svn synchronize git with svn.
> 
> When git-fetch failed midway, and resumed later.The git-svn log output
> fine, but git-log output only before resumed.
> 
> How can I fix it ?

git-svn only updates refs/heads/master to the last refs/remotes/git-svn revision on the first time fetch runs. Since git-log defaults to HEAD (which most likely points to refs/heads/master, use git-branch to find out), it'll only show the information in refs/heads/master.

So if you want to see the latest revisions that git-svn fetched, then use 'git log remotes/git-svn'

To pull changes into your working copy (or HEAD) use:
  git rebase refs/remotes/git-svn

← back to recent threads