From: Stephen & Linda Smith <ischis2@cox.net>
To: Andrew Ardill <andrew.ardill@gmail.com>
Cc: "git@vger.kernel.org" <git@vger.kernel.org>
Subject: Re: merging commit history
Date: Tue, 16 Jul 2013 18:08:18 -0700 [thread overview]
Message-ID: <2783346.mfr0aMU5vx@thunderbird> (raw)
In-Reply-To: 3186432.VaN86YJOtL@thunderbird
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
prev parent reply other threads:[~2013-07-17 1:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
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=2783346.mfr0aMU5vx@thunderbird \
--to=ischis2@cox.net \
--cc=andrew.ardill@gmail.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.