git-svn is "Unable to determine upstream SVN information..."
- From
- esskov@oncable.dk <esskov@oncable.dk>
- Date
- Jul 9, 2009, 22:53 UTC
- Message-ID
- <ohrc5510bko329be5ugj3n6bgvhcevd2kg@4ax.com>
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?
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?
Cheers,
Esben