git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* Fwd: git+svn - repo upgrade from 1.6.6.4 to 1.7.1 fails
       [not found] <AANLkTin-k5zIDZysiLbTusqDwqxGWDxxAOPljLuRlIMD@mail.gmail.com>
@ 2010-05-31 11:09 ` Fred
  2010-05-31 12:27   ` Fred
  0 siblings, 1 reply; 2+ messages in thread
From: Fred @ 2010-05-31 11:09 UTC (permalink / raw
  To: git

Hi, I have a project with two remotes - one git and one svn. One
branch is only used for "git svn rebase", and then I cherrypick or
merge from it into my master branch. Most work is done in the master
branch (or other topic branches only available in git)

The repo was created under git 1.6.6.4. After updating git a while
back (to 1.7.1) it was time to merge inn a few things from svn - so i
switched to my "subversion" branch and did a

$ git svn rebase

Migrating from a git-svn v1 layout...
Data from a previous version of git-svn exists, but
.git/svn
(required for this version (1.7.1) of git-svn) does not exist.
Done migrating from a git-svn v1 layout
Unable to determine upstream SVN information from working tree history
---
I read this as: "I see your repo has some svn stuff and that it is
backlevel. I'll fix it for you. Oh shit, now I can't determine what
svn revision you are on."

Any ideas on how to resolve this? We're a dozen developers relying on
this so it would be nice find a way with minimal impact to the
users...

For now I'll do the rebasing in a back-level git client...

- Fred

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

* Re: git+svn - repo upgrade from 1.6.6.4 to 1.7.1 fails
  2010-05-31 11:09 ` Fwd: git+svn - repo upgrade from 1.6.6.4 to 1.7.1 fails Fred
@ 2010-05-31 12:27   ` Fred
  0 siblings, 0 replies; 2+ messages in thread
From: Fred @ 2010-05-31 12:27 UTC (permalink / raw
  To: git

On 31 May 2010 13:09, Fred <fred@akafred.com> wrote:
> Hi, I have a project with two remotes - one git and one svn. One
> branch is only used for "git svn rebase", and then I cherrypick or
> merge from it into my master branch. Most work is done in the master
> branch (or other topic branches only available in git)
>
> The repo was created under git 1.6.6.4. After updating git a while
> back (to 1.7.1) it was time to merge inn a few things from svn - so i
> switched to my "subversion" branch and did a
>
> $ git svn rebase
>
> Migrating from a git-svn v1 layout...
> Data from a previous version of git-svn exists, but
> .git/svn
> (required for this version (1.7.1) of git-svn) does not exist.
> Done migrating from a git-svn v1 layout
> Unable to determine upstream SVN information from working tree history
> ---
> I read this as: "I see your repo has some svn stuff and that it is
> backlevel. I'll fix it for you. Oh shit, now I can't determine what
> svn revision you are on."
>
> Any ideas on how to resolve this? We're a dozen developers relying on
> this so it would be nice find a way with minimal impact to the
> users...
>
> For now I'll do the rebasing in a back-level git client...
>
> - Fred
>

Additional info:

$ git log --grep=^git-svn-id --first-parent

returns mulitple commits - the first one here:

commit e2f9e115f07fa1fb0932f893c6f94173f9dc4515
Author: geir <geir@f9caaf5b-9695-4c42-8d37-d0d3d7799616>
Date:   Mon Apr 26 12:37:09 2010 +0000

    Modofied search for ED01119000 from web. Handles the case that the
user enters the birth date as a complete ssn or as 8 digits in

    git-svn-id: svn://svnserver/Decision/decisionmaker/trunk@45839
f9caaf5b-9695-4c42-8d37-d0d3d7799616

----

And here is the config-file - only changed the github username to xxx

[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
	ignorecase = true
[svn-remote "svn"]
	url = svn://svnserver/
	fetch = Decision/decisionmaker/trunk:refs/remotes/trunk
	branches = Decision/decisionmaker/branches/*:refs/remotes/*
	tags = Decision/decisionmaker/tags/*:refs/remotes/tags/*
[remote "origin"]
	fetch = +refs/heads/*:refs/remotes/origin/*
	url = git@github.com:xxx/decisionmaker.git
[branch "master"]
	remote = origin
	merge = refs/heads/master
[branch "subversion"]
        remote = origin
        merge = refs/heads/subversion

---

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

end of thread, other threads:[~2010-05-31 12:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <AANLkTin-k5zIDZysiLbTusqDwqxGWDxxAOPljLuRlIMD@mail.gmail.com>
2010-05-31 11:09 ` Fwd: git+svn - repo upgrade from 1.6.6.4 to 1.7.1 fails Fred
2010-05-31 12:27   ` Fred

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

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 read-only IMAP folder(s) and NNTP newsgroup(s).