git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: tom fogal <tfogal@alumni.unh.edu>
To: git@vger.kernel.org
Subject: Re: git-svn seems confused about current HEAD
Date: Fri, 03 Jul 2009 11:43:05 -0600	[thread overview]
Message-ID: <auto-000019869879@sci.utah.edu> (raw)
In-Reply-To: Your message of "Thu, 02 Jul 2009 00:54:38 PDT." <20090702075438.GA11119@dcvr.yhbt.net>

Hi all, just wanted to ACK and confirm that the recommended actions
were sound.

Eric Wong <normalperson@yhbt.net> writes:
> tom fogal <tfogal@alumni.unh.edu> wrote:
> > I've got a repository that git-svn won't grab the most recent commits
> > for:
> > 
> >   tf@shigeru tuvok ~/sw/bin/git svn find-rev HEAD
> >   1164
> >   tf@shigeru tuvok ~/sw/bin/git svn fetch
> >   tf@shigeru tuvok ~/sw/bin/git --version
> >   git version 1.6.3.3
> > 
> > The repository is actually at revision 1184.
> >
> > Interestingly, 1165 is also a commit which contains a string which
> > is not representable in 8bit ASCII in the commit log.
> 
> Wow, "svn log" seems to croak on 1165, too.  How did you manage that?  I
> guess SVN servers don't check for UTF-8 validity at all in the
> commits...

*shrug*, I just copy-and-pasted a contributor's name into the log.  I
think in the future, I'll leave their names in the code instead of the
log :)

> I would get your SVN administrator to propedit the r1165 log entry
> so people can see it in the future.  Basically git svn relies on the
> library version of "svn log", so if "svn log" fails, then git svn
> usually has no chance of getting those revisions.

I think Eric was referring to `svnadmin setlog' here.  We've done that
and everything seems to be working well.

I'm slightly worried that I've rewritten history behind git's back
-- I'm likening it to rebasing an upstream after pulling from it --
but everything seems okay so far without any gymnastics downstream.
Perhaps it's not an issue because only a log message, and not actual
code, has changed. *shrug*, for my case, re-cloning wouldn't be a
disaster anyway.

> > Is there a known workaround for this issue (or, how did I manage to
> > `ignore' those commits in my initial repo)?
> 
> Here's what I did when the initial clone got stuck at 1164:
[snip]

Thanks much for the help!

-tom

      reply	other threads:[~2009-07-03 17:43 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-25  0:00 git-svn seems confused about current HEAD tom fogal
2009-07-02  7:54 ` Eric Wong
2009-07-03 17:43   ` tom fogal [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=auto-000019869879@sci.utah.edu \
    --to=tfogal@alumni.unh.edu \
    --cc=git@vger.kernel.org \
    --cc=tfogal@sci.utah.edu \
    /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;
as well as URLs for NNTP newsgroup(s).