unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* the bzr switchover, how I got up to speed with bzr
@ 2009-03-29 20:44 Mike Mattie
  2009-03-31  0:40 ` Karl Fogel
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Mattie @ 2009-03-29 20:44 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1061 bytes --]

Hi,

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.

Cheers,
Mike Mattie

-- 
GnuPG Key: B9012279 is available from HKP server pgp.mit.edu

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: the bzr switchover, how I got up to speed with bzr
  2009-03-29 20:44 the bzr switchover, how I got up to speed with bzr Mike Mattie
@ 2009-03-31  0:40 ` Karl Fogel
  2009-03-31  2:34   ` Mike Mattie
  0 siblings, 1 reply; 3+ messages in thread
From: Karl Fogel @ 2009-03-31  0:40 UTC (permalink / raw)
  To: Mike Mattie; +Cc: emacs-devel

Mike Mattie <codermattie@gmail.com> 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.

Thank you; that is an excellent idea.

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).

-Karl




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: the bzr switchover, how I got up to speed with bzr
  2009-03-31  0:40 ` Karl Fogel
@ 2009-03-31  2:34   ` Mike Mattie
  0 siblings, 0 replies; 3+ messages in thread
From: Mike Mattie @ 2009-03-31  2:34 UTC (permalink / raw)
  To: Karl Fogel; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 2745 bytes --]

On Mon, Mar 30, 2009 at 08:40:28PM -0400, Karl Fogel wrote:
> Mike Mattie <codermattie@gmail.com> 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.
> 
> Thank you; that is an excellent idea.
> 
> 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).
> 
> -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

-- 
GnuPG Key: B9012279 is available from HKP server pgp.mit.edu

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2009-03-31  2:34 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-29 20:44 the bzr switchover, how I got up to speed with bzr Mike Mattie
2009-03-31  0:40 ` Karl Fogel
2009-03-31  2:34   ` Mike Mattie

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).