git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* git-svn seems confused about current HEAD
@ 2009-06-25  0:00 tom fogal
  2009-07-02  7:54 ` Eric Wong
  0 siblings, 1 reply; 3+ messages in thread
From: tom fogal @ 2009-06-25  0:00 UTC (permalink / raw)
  To: git

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-07-03 17:43 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 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).