From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Mattie Newsgroups: gmane.emacs.devel Subject: Re: the bzr switchover, how I got up to speed with bzr Date: Mon, 30 Mar 2009 19:34:15 -0700 Message-ID: <20090331023414.GA6222@reforged> References: <20090329204425.GA6511@reforged> <873acumsn7.fsf@canonical.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="WIyZ46R2i8wDzkSu" X-Trace: ger.gmane.org 1238466882 18633 80.91.229.12 (31 Mar 2009 02:34:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 31 Mar 2009 02:34:42 +0000 (UTC) Cc: emacs-devel@gnu.org To: Karl Fogel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 31 04:36:00 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 1LoTpW-0005f4-2H for ged-emacs-devel@m.gmane.org; Tue, 31 Mar 2009 04:35:58 +0200 Original-Received: from localhost ([127.0.0.1]:34009 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoTo8-0004om-Dm for ged-emacs-devel@m.gmane.org; Mon, 30 Mar 2009 22:34:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LoTo2-0004oX-RZ for emacs-devel@gnu.org; Mon, 30 Mar 2009 22:34:26 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LoTnx-0004jQ-9p for emacs-devel@gnu.org; Mon, 30 Mar 2009 22:34:25 -0400 Original-Received: from [199.232.76.173] (port=51459 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LoTnx-0004j9-3E for emacs-devel@gnu.org; Mon, 30 Mar 2009 22:34:21 -0400 Original-Received: from rv-out-0708.google.com ([209.85.198.242]:15628) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LoTnw-0001SM-Ld for emacs-devel@gnu.org; Mon, 30 Mar 2009 22:34:20 -0400 Original-Received: by rv-out-0708.google.com with SMTP id f25so3295352rvb.6 for ; Mon, 30 Mar 2009 19:34:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:references:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=fgz6csMvJavuND1V8SmogmuUsuPJvrGIMtg60XBiv4c=; b=aAl+rOC5JhQtvckQC36bFjuIKEud+T2A6MPOP3WWCEQ13OqCGVSSWKDTAx8QUd/0N4 Nq8gZqimq2MqqYpG9+PSWGvsBsSwOTXkMz8Uce7fa0InvblOIQ8u+FOzBck8z+cgG8fP Wm+nruJqo8/tWkostTkWNpr1W+9efqXNeKEQQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:user-agent; b=jz6xUGumX+Xnj/QN8JOovglbnHXQOH6ICS6CaIFVN47lavR7qVBNzQKiheD8CPfVFr SdGjYwTMWhcIvXaCwSJYnhUWtYO/Q+M8RhxeENzZII4Q92bxr7L5xsgVWMzjyA7e2yhp bKwGJJ4Uo7+1PlNc46tBHoPMcCKjHFd7mb4XM= Original-Received: by 10.115.18.3 with SMTP id v3mr3992898wai.178.1238466859387; Mon, 30 Mar 2009 19:34:19 -0700 (PDT) Original-Received: from @ (c66-235-1-45.sea2.cablespeed.com [66.235.1.45]) by mx.google.com with ESMTPS id l38sm5066836waf.33.2009.03.30.19.34.17 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 30 Mar 2009 19:34:18 -0700 (PDT) Content-Disposition: inline In-Reply-To: <873acumsn7.fsf@canonical.com> User-Agent: Mutt/1.5.16 (2007-06-09) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:109935 Archived-At: --WIyZ46R2i8wDzkSu Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Mar 30, 2009 at 08:40:28PM -0400, Karl Fogel wrote: > Mike Mattie writes: > > I read the discussion on the bzr switchover and I wanted to share > > my experience with using bzr. > > > > Before Bzr I used svn exclusively. To learn bzr I started off > > using it in conjuction with svn. In fact I still do. > > > > What I did is create a shared repository with a subversion > > checkout of my project in it. I was then able to use > > bzr to create "focused patches". > > > > I learned how to use feature branches, shelve, and the > > differences between commit,push, bound branches etc. > > > > I would suggest to the developers who want to get > > the hang of bzr before a flag day that this approach of > > using bzr in conjunction with the existing RCS system (CVS) > > is enormously beneficial. > > > > In retrospect it was far better than doing a flag day and fumbling > > with the learning curve. I knew I would botch things while I was > > learning the ropes and I was able to scratch a few repositories after > > some novice botches. > > > > A tip from the peanut gallery for what it is worth. >=20 > Thank you; that is an excellent idea. >=20 > But can one do foreign branching from CVS with Bzr? I don't know of any > plugins that do that. http://bazaar-vcs.org/BzrForeignBranches and > http://bazaar-vcs.org/BzrPlugins seem to indicate not. There are ways > to serve a Bzr repository to a CVS client (which is of little use to > us), and ways to import CVS sources into Bzr (useful to us, but there's > no provision for committing back as with a true foreign branch). >=20 > -Karl I didn't look for anything like that. In fact I did not even use bzr-svn though it is available. It is a little clumsy, but created a bzr repository/branch with a svn checkout. bzr init-repo foo cd foo mkdir trunk cd trunk bzr init svn checkout ..... bzr add *.el As you can see from above there is no direct integration between the two. when I am ready to commit to subversion I cd in, fixup any renames, and then do a typical svn commit. It is not the prettiest way to do it. For subversion there is a real plugin to interface directly with svn, but the approach above does work, and it is fairly easy within a limited scope. In fact using bzr itself is quite easy. Where I ended up scratching some repositories is the process of finding a workflow that fit my development style - not how to use the features, rather which features to use, and how they fit into an overall scheme of development. I hope your experience will turn out to be as positive as mine. Cheers, Mike Mattie --=20 GnuPG Key: B9012279 is available from HKP server pgp.mit.edu --WIyZ46R2i8wDzkSu Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAknRgSUACgkQdfRchrkBInkitwCgjwTIbm9f0ur1ylzhSzHeFI8J 1FQAoNqHy7vIaBCa8/HN0e+Aj3zzN8m1 =HhaR -----END PGP SIGNATURE----- --WIyZ46R2i8wDzkSu--