Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:47287 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 44363 invoked from network); 15 Mar 2010 06:21:15 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 15 Mar 2010 06:21:15 -0000 Authentication-Results: pb1.pair.com smtp.mail=larry@garfieldtech.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=larry@garfieldtech.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain garfieldtech.com from 76.96.27.212 cause and error) X-PHP-List-Original-Sender: larry@garfieldtech.com X-Host-Fingerprint: 76.96.27.212 qmta14.emeryville.ca.mail.comcast.net Received: from [76.96.27.212] ([76.96.27.212:43989] helo=qmta14.emeryville.ca.mail.comcast.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 41/5E-07348-AD1DD9B4 for ; Mon, 15 Mar 2010 01:21:15 -0500 Received: from omta21.emeryville.ca.mail.comcast.net ([76.96.30.88]) by qmta14.emeryville.ca.mail.comcast.net with comcast id tJ2T1d0021u4NiLAEJMC8D; Mon, 15 Mar 2010 06:21:12 +0000 Received: from earth.ufp ([98.220.236.211]) by omta21.emeryville.ca.mail.comcast.net with comcast id tJMB1d0054aLjBW8hJMCVz; Mon, 15 Mar 2010 06:21:12 +0000 Received: from localhost (localhost [127.0.0.1]) by earth.ufp (Postfix) with ESMTP id 89F76D79F7 for ; Mon, 15 Mar 2010 01:21:10 -0500 (CDT) Received: from earth.ufp ([127.0.0.1]) by localhost (earth.ufp [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oVA1KcCESXZC for ; Mon, 15 Mar 2010 01:21:10 -0500 (CDT) Received: from luna.localnet (unknown [192.168.42.1]) by earth.ufp (Postfix) with ESMTPSA id 73DA0D7956 for ; Mon, 15 Mar 2010 01:21:10 -0500 (CDT) To: internals@lists.php.net Date: Mon, 15 Mar 2010 00:21:07 -0600 User-Agent: KMail/1.12.2 (Linux/2.6.31-20-generic; KDE/4.3.2; x86_64; ; ) References: <36D0BC9D-72BA-4087-9088-A054F0E82A52@pooteeweet.org> In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-ID: <201003150121.08098.larry@garfieldtech.com> Subject: Re: [PHP-DEV] Re: moving forward From: larry@garfieldtech.com (Larry Garfield) On Monday 15 March 2010 12:56:07 am Herman Radtke wrote: > > There are a number of ways to share your branches with others. At > > least you can do it by pushing your local changesets to some remote > > repository. I've actually been experimenting with modified PHP core > > with some language features added by forking the mirror on github.com > > [1]. I've never felt any inconvenience there. I really appreciate > > those who set up the mirror. > > Yes, this is possible, but in my experience branch sharing quickly > falls apart in practice. If I make some change to foo.c, push it to > your branch and then later on do a rebase to update from svn I just > rewrote history. The commit hash you have for foo.c is now different > than mine. Now sure you can also rebase, but what if you are away? I > am stuck until you return. Or what if you have a commit to foo.c that > is made after my commit, but updating from svn creates a conflict you > need to resolve? You then again rewrite history and now I have to > sync back up. And good luck if one of us cherry-picks. > > I think git svn does a great job for individuals working solo on a > project, but for me it starts to become too tedious when groups of > people are passing around branches. Or maybe I am just doing it all > wrong? If I may pop in here a moment, my company has done a few projects recently using git, and Drupal (the main project I work on) is in the process of planning a git migration. I make no claims of being a git expert (I've only used it on one project so far personally), but my understanding from those who are is "OMG WTF are you doing rebasing???" 99% of the time that's not what you want to do. You just want to do a straight up merge from the "parent" branch to your branch off of the parent periodically. That may resolve the issue you're describing. --Larry Garfield, not a git expert by any means, just repeating what he's been told by people who know more than him