From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Karl Fogel Newsgroups: gmane.emacs.devel Subject: Re: bzr repository ready? Date: Mon, 23 Nov 2009 18:01:46 -0600 Message-ID: <87k4xgrdsl.fsf@canonical.com> References: <20091118230952.GB908@muc.de> <87my2jw05z.fsf@red-bean.com> <83skc9pbf7.fsf@gnu.org> <87iqd5vw5n.fsf@red-bean.com> <877htl53tc.fsf@telefonica.net> <87ws1ku7zd.fsf@red-bean.com> <87hbso4s13.fsf@telefonica.net> <83aaygoy90.fsf@gnu.org> <87vdh36d48.fsf@telefonica.net> <831vjrptha.fsf@gnu.org> <87einr63b6.fsf@telefonica.net> <83y6lzo9e7.fsf@gnu.org> <871vjr750o.fsf@uwakimon.sk.tsukuba.ac.jp> <87zl6fnnu2.fsf@notengoamigos.org> <87aaye3nba.fsf@uwakimon.sk.tsukuba.ac.jp> <87r5rqm7gm.fsf@notengoamigos.org> <87skc5spso.fsf@uwakimon.sk.tsukuba.ac.jp> <87ws1hujh5.fsf@notengoamigos.org> <4B0B1DA6.7030206@harpegolden.net> Reply-To: Karl Fogel NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1259020940 16854 80.91.229.12 (24 Nov 2009 00:02:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 24 Nov 2009 00:02:20 +0000 (UTC) Cc: es , "Stephen J. Turnbull" , Eli Zaretskii , Jason Earl , emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Nov 24 01:02:11 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NCirB-0001XK-Cq for ged-emacs-devel@m.gmane.org; Tue, 24 Nov 2009 01:02:09 +0100 Original-Received: from localhost ([127.0.0.1]:47716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCirA-00052z-L9 for ged-emacs-devel@m.gmane.org; Mon, 23 Nov 2009 19:02:08 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCir4-00051v-Lx for emacs-devel@gnu.org; Mon, 23 Nov 2009 19:02:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCir3-00050V-4O for emacs-devel@gnu.org; Mon, 23 Nov 2009 19:02:02 -0500 Original-Received: from [199.232.76.173] (port=53743 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCir2-00050S-W0 for emacs-devel@gnu.org; Mon, 23 Nov 2009 19:02:01 -0500 Original-Received: from adelie.canonical.com ([91.189.90.139]:33238) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCiqv-0000Mp-Hb; Mon, 23 Nov 2009 19:01:53 -0500 Original-Received: from hutte.canonical.com ([91.189.90.181]) by adelie.canonical.com with esmtp (Exim 4.69 #1 (Debian)) id 1NCiqs-0007mp-V3; Tue, 24 Nov 2009 00:01:50 +0000 Original-Received: from 68-30-75-181.pools.spcsdns.net ([68.30.75.181] helo=kfogel-work) by hutte.canonical.com with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1NCiqs-0002dk-GF; Tue, 24 Nov 2009 00:01:50 +0000 In-Reply-To: <4B0B1DA6.7030206@harpegolden.net> (David De La Harpe Golden's message of "Mon, 23 Nov 2009 23:41:26 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117651 Archived-At: David De La Harpe Golden writes: > As a git user, I've been trying to set up for emacs bzr tracking, and > perked up a bit at your posts suggesting bzr could be more git > like. With searching, I then found > http://bazaar-vcs.org/GitStyleBranches > > So I've been trying to work out one thing in particular - is there a > bzr analogue of the distinction between master and > remotes/origin/master ? I'm a bit confused by bzr "trunk" seemingly > serving some double duty as a remote tracking and local branch in > setup guides so far, so my (possibly quite contrary) stab at setting > up went like the below. > > I'm unclear on how to / if I should tell bzr that remotes-origin-trunk > is a remote tracking branch (bzr bind?) > > I /think/ bzr push --remember allows me to setup to push from my trunk > to elsewhere while still merging from remotes-origin-trunk to my trunk > (which I'd do after a bzr pull to update remotes-origin-trunk from > origin trunk, by analogy to a git fetch) ? I may misunderstand the question, but I think this will help you: * The names of branches are whatever their owners want to call them, and it doesn't matter if two branches have the same name. * 'bzr push --remember DEST means the next time you can just do 'bzr push' and it will push to that same DEST. * Suppose you have local branch LB, related to (originally branched from) upstream branch UB. After you send changes from LB to UB, you can pull from UB to LB and, of course, it won't send those changes, because LB already has them. It will send changes LB doesn't have. * You could instead send those changes from LB to SOME_OTHER_BRANCH, and thence to YET_ANOTHER_BRANCH, and thence to UB. If you did that, when you pull from UB to LB, there will still be no problem, and the changes won't get sent, because LB already has them. * There are ways that history can get sort of twisted up; however, the methods we are recommending for Emacs development avoid that. See the oft-referred-to http://www.emacswiki.org/emacs/BzrForEmacsDevs. The question of who is "remote" and who is not depends on point of view. I don't _think_ bzr has the concept of a remote tracking branch, at least not one that is used very often; but someone who knows better might follow up to correct that (I hope they will). (Posting from my Canonical address, to see if it works reliably now. If you don't get this, please let me know :-) .) -Karl