git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: tom fogal <tfogal@alumni.unh.edu>
To: git@vger.kernel.org
Subject: git-svn seems confused about current HEAD
Date: Wed, 24 Jun 2009 18:00:44 -0600	[thread overview]
Message-ID: <auto-000019790488@sci.utah.edu> (raw)

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.  It's browsable online:

  https://gforge.sci.utah.edu/gf/project/Tuvok/scmsvn/

and publicly clonable:

  https://gforge.sci.utah.edu/svn/Tuvok

Interestingly, 1165 is also a commit which contains a string which
is not representable in 8bit ASCII in the commit log.  This is very
likely to be the only such commit in the repository's history.  After
cloning, setting i18n.commitencoding and i18n.logoutputencoding to
ISO-8859-1 and then trying another `git svn fetch' does not seem to
have any effect.

Revisions 1166-1169 actually correspond to some commits I did to split
a particular directory of that repository into another repository, and
then add an svn:external for it.  I did that via an svn checkout.

This is actually a `secondary' clone.  In the clone I use to do daily
work, I have somehow magically convinced my git repository that commits
116[56] do not exist.  A contiguous snippet from `git log':

  commit 351dedb982af09e170b17001340208af46b197b5
  Author: tfogal <tfogal@c36c8488-0289-0348-9b64-b301f74bd9a7>
  Date:   Sat Jun 6 20:42:11 2009 +0000

      Use external `scio' repository.

      git-svn-id: https://gforge.sci.utah.edu/svn/Tuvok@1167
  c36c8488-0289-0348-9b64-b301f74bd9a7

  commit 401493d9175ebdb3c62d6524c701944f208aba94
  Author: tfogal <tfogal@c36c8488-0289-0348-9b64-b301f74bd9a7>
  Date:   Fri Jun 5 22:54:48 2009 +0000

      no newline at EOF issue.

      git-svn-id: https://gforge.sci.utah.edu/svn/Tuvok@1164
  c36c8488-0289-0348-9b64-b301f74bd9a7

I have no idea how I managed to do that, but it seems to have done
the trick; I haven't noticed any issues with that clone, and I've
apparently been working with it for a couple weeks now.

Is there a known workaround for this issue (or, how did I manage to
`ignore' those commits in my initial repo)?

Thanks,

-tom

             reply	other threads:[~2009-06-25  0:30 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-06-25  0:00 tom fogal [this message]
2009-07-02  7:54 ` git-svn seems confused about current HEAD Eric Wong
2009-07-03 17:43   ` tom fogal

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-000019790488@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).