Git development
 help / color / mirror / Atom feed
From: Eric Wong <normalperson@yhbt.net>
To: esskov@oncable.dk
Cc: git@vger.kernel.org
Subject: Re: git-svn is "Unable to determine upstream SVN information..."
Date: Thu, 9 Jul 2009 20:31:33 -0700	[thread overview]
Message-ID: <20090710033133.GA23082@dcvr.yhbt.net> (raw)
In-Reply-To: <ohrc5510bko329be5ugj3n6bgvhcevd2kg@4ax.com>

esskov@oncable.dk wrote:
> 	Hi,
> 
> I'm trying to clone the trunk of an svn repo, so that I can work on a set
> of patches locally, and then occasionally push some of them back to svn.
> 
> The git-svn clone seems to go well, and the resulting git log looks
> alright. However, git-svn info and git-svn rebase both say "Unable to
> determine upstream SVN information from working tree history".
> Also, git-svn log shows nothing.  I'm using the svn:// protocol btw, but I
> guess the protocol shouldn't matter?

Protocol shouldn't matter.  Do you have any non-linear history from
merges in git?  git-svn (and SVN) doesn't play very nicely with
non-linear history that git merges can generate.

Does having a clean clone of that repo fix things?  You didn't use
--no-metadata or blow away your .git/svn/* directories, did you?

> To test if this was a general problem, I just tried to git-svn clone a
> repo on some public svn server which was also using the svn protocol. I
> used exactly the same syntax for the svn init and fetch commands. However,
> the resulting git repo did NOT suffer from the problem, i.e., git-svn info
> reported nicely etc.
> 
> At some point I suspected that there might be a problem with the
> "git-svn-id ..." lines in the commits for the problematic repo, but they
> look just like the ones for the working repo. The .git/config files of the
> working and the non-working git-repos are similar as well. 
> 
> What could be causing this problem?

Which version of git svn is this?  Are there any weird characters in the
URL?  Off the top of my head I can't think of anything else; I assume
you're not allowed to share access to the repo (or to the clone) you're
having problems with?

-- 
Eric Wong

  reply	other threads:[~2009-07-10  3:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-09 22:53 git-svn is "Unable to determine upstream SVN information..." esskov
2009-07-10  3:31 ` Eric Wong [this message]
2009-07-10 11:15   ` Esben Skovenborg
2009-07-10 20:33     ` Eric Wong
2009-07-12 18:58       ` [PATCH] git svn: allow uppercase UUIDs from SVN Eric Wong
2009-07-12 21:15         ` Junio C Hamano
2009-07-12 21:53           ` Junio C Hamano
2009-07-12 21:56             ` Eric Wong

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=20090710033133.GA23082@dcvr.yhbt.net \
    --to=normalperson@yhbt.net \
    --cc=esskov@oncable.dk \
    --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