git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* merging commit history
@ 2013-07-11 23:43 Stephen & Linda Smith
  2013-07-12  0:11 ` Andrew Ardill
  2013-07-17  1:08 ` Stephen & Linda Smith
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen & Linda Smith @ 2013-07-11 23:43 UTC (permalink / raw)
  To: git, Junio C Hamano

I'm working on a project that used to use a proprietary CM system (aka oldCM).   At a point in time, the state of the code was frozen and used as the basis for commits in SVN.

What I would like to to do is take the individal commits from the oldCM and place them into git knowing that the time/date stamps won't match.  Then I want to do whatever is necessary to
setup git so that I can run "svn rebase" to pull in the commits from the SVN repository.

What is the easy way to do this?

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

* Re: merging commit history
  2013-07-11 23:43 merging commit history Stephen & Linda Smith
@ 2013-07-12  0:11 ` Andrew Ardill
  2013-07-17  1:08 ` Stephen & Linda Smith
  1 sibling, 0 replies; 3+ messages in thread
From: Andrew Ardill @ 2013-07-12  0:11 UTC (permalink / raw)
  To: Stephen & Linda Smith; +Cc: git@vger.kernel.org

On 12 July 2013 09:43, Stephen & Linda Smith <ischis2@cox.net> wrote:
> I'm working on a project that used to use a proprietary CM system (aka oldCM).   At a point in time, the state of the code was frozen and used as the basis for commits in SVN.
>
> What I would like to to do is take the individal commits from the oldCM and place them into git knowing that the time/date stamps won't match.  Then I want to do whatever is necessary to
> setup git so that I can run "svn rebase" to pull in the commits from the SVN repository.
>
> What is the easy way to do this?


There may be other tools that make this easier, but if I had this
problem I would simply create two repositories, one for oldCM and one
for SVN. I would then merge the two together (as branches with
different roots) and do my rebase from there.

I haven't tried this, and maybe there is something I am missing, but
there shouldn't be too much pain going that way.


Regards,

Andrew Ardill

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

* Re: merging commit history
  2013-07-11 23:43 merging commit history Stephen & Linda Smith
  2013-07-12  0:11 ` Andrew Ardill
@ 2013-07-17  1:08 ` Stephen & Linda Smith
  1 sibling, 0 replies; 3+ messages in thread
From: Stephen & Linda Smith @ 2013-07-17  1:08 UTC (permalink / raw)
  To: Andrew Ardill; +Cc: git@vger.kernel.org

I did as Andrew suggested and created two git repositories  with one  branch using oldCM history and the second branch using having the svn history.  

Then I checked out the svn branch and rebased onto oldCM.   The head of the combined branch is named master.

How do I manually set git/git-svn up so that HEAD  points to -r rev  in the svn repository?    Googling doesn't come up with a solution; I previously thought google knows all.

When done, I would like git svn dcommit to be able to commit to the svn repo.

Thanks
sps

On Friday, July 12, 2013 10:11:41 AM Andrew Ardill wrote:
> On 12 July 2013 09:43, Stephen & Linda Smith <ischis2@cox.net> wrote:
> > I'm working on a project that used to use a proprietary CM system (aka oldCM).   At a point in time, the state of the code was frozen and used as the basis for commits in SVN.
> >
> > What I would like to to do is take the individal commits from the oldCM and place them into git knowing that the time/date stamps won't match.  Then I want to do whatever is necessary to
> > setup git so that I can run "svn rebase" to pull in the commits from the SVN repository.
> >
> > What is the easy way to do this?
> 
> 
> There may be other tools that make this easier, but if I had this
> problem I would simply create two repositories, one for oldCM and one
> for SVN. I would then merge the two together (as branches with
> different roots) and do my rebase from there.
> 
> I haven't tried this, and maybe there is something I am missing, but
> there shouldn't be too much pain going that way.
> 
> 
> Regards,
> 
> Andrew Ardill
> --
> To unsubscribe from this list: send the line "unsubscribe git" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

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

end of thread, other threads:[~2013-07-17  1:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-07-11 23:43 merging commit history Stephen & Linda Smith
2013-07-12  0:11 ` Andrew Ardill
2013-07-17  1:08 ` Stephen & Linda Smith

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