Re: Unable to sync git repo with recent commits
Randy Coulman <[email protected]> Thu, 23 Jan 2014 07:01:17 -0800
| Newsgroups | gmane.comp.java.cruise-control.devel |
|---|---|
| Message-ID | <CADLoiSoMywKwGF27SOKNwigWHG+Wh9+qf17Ob_B0Pqzbu9wv=w@mail.gmail.com> |
I didn't realize everyone would have to do it locally. I thought perhaps you could do it once on the main GitHub repo and then everyone else could re-clone from there. Randy On Thursday, January 23, 2014, Kent R. Spillner <[email protected]> wrote: > No, I believe those answers are all saying the same thing: you either have > to use git filter-branch and rewrite history, or you create a second svn > import and merge the two which creates duplicate history. > > The .git/config hack changing url & remoteRoot might work, but that's a > manual step everyone would have to do locally. If we're going to go that > way then I say let's go with option #3 from my original email. > > > On Jan 23, 2014, at 0:15, Randy Coulman <[email protected]> wrote: > > Perhaps there's a better option. See this question on StackOverflow: > > > http://stackoverflow.com/questions/4694623/git-svn-after-an-svn-repository-is-moved > > Randy > > On Wednesday, January 22, 2014, Julian Simpson <[email protected]> > wrote: > > > > > On 23 January 2014 13:40, Kent R. Spillner <[email protected]> wrote: > > SourceForge changed their Subversion repository URL scheme since we last > imported the history with git-svn. Because of the way git-svn works this > means we can't import the most recent commits on top of the existing > commits. > > So, we have two choices*: > 1). Import the entire history again into a new branch, and then merge > that into master > 2). Import the entire history again into a new branch, then reset master > to be the new branch > > #1 will cause duplicate commits to be recorded in the git history up to > the point of the last import (last August). #2 means existing clones & > forks will break, and need to resync with the new master branch. > > Beither choice is very good. :( > > Does anyone have a strong preference between the two? Personally, I vote > #2 because I think the duplicate history will be really confusing, and > given how quiet we've been recently I doubt anyone has done much work in > their git clones. :) > > > This is my second choice. > > > > * Ok, there's a third choice, too: manually replay the most recent commits > into the git repo, kill the Subversion repo, and require all new > development happen in git. I'm not opposed to this, but given the lack of > activity these past several months I don't know if everyone has had an > opportunity to get comfortable with Git & GitHub. > > > This is my first choice. > > J. > > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > > http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk > _______________________________________________ > Cruisecontrol-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/cruisecontrol-devel > > > > > -- > Julian Simpson > Neo Technology/The Build Doctor > Auckland, NZ > +6422 157 9103 > > > > -- > Randy Coulman > Email: [email protected] > Home: http://randycoulman.com > Twitter: @randycoulman GitHub: randycoulman > > > ------------------------------------------------------------------------------ > CenturyLink Cloud: The Leader in Enterprise Cloud Services. > Learn Why More Businesses Are Choosing CenturyLink Cloud For > Critical Workloads, Development Environments & Everything In Between. > Get a Quote or Start a Free Trial Today. > http://pubads.g.doubleclick.net/gampad/clk?id=119420<http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk> > > -- Randy Coulman Email: [email protected] Home: http://randycoulman.com Twitter: @randycoulman GitHub: randycoulman ------------------------------------------------------------------------------ CenturyLink Cloud: The Leader in Enterprise Cloud Services. Learn Why More Businesses Are Choosing CenturyLink Cloud For Critical Workloads, Development Environments & Everything In Between. Get a Quote or Start a Free Trial Today. http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk _______________________________________________ Cruisecontrol-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-devel