Git development
 help / color / mirror / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: Dongsheng Song <dongsheng.song@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: git-svn breakage
Date: Tue, 12 Dec 2006 01:19:18 -0800	[thread overview]
Message-ID: <20061212091918.GC8179@localdomain> (raw)
In-Reply-To: <4b3406f0612112123h13e346d2r5a3b196595bc017a@mail.gmail.com>

Dongsheng Song <dongsheng.song@gmail.com> wrote:
> 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

-- 

      reply	other threads:[~2006-12-12  9:19 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-12-12  5:23 git-svn breakage Dongsheng Song
2006-12-12  9:19 ` Eric Wong [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061212091918.GC8179@localdomain \
    --to=normalperson@yhbt.net \
    --cc=dongsheng.song@gmail.com \
    --cc=git@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox