unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Sam Steingold <sds@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: bzr workflow
Date: Tue, 12 Jan 2010 00:08:42 +0200	[thread overview]
Message-ID: <83aawk8fbp.fsf@gnu.org> (raw)
In-Reply-To: <4B4B93AB.3030903@gnu.org>

> From: Sam Steingold <sds@gnu.org>
> Date: Mon, 11 Jan 2010 16:10:03 -0500
> 
> http://www.emacswiki.org/emacs/BzrForEmacsDevs
> appears to indicate that I need to commit _twice_ for each change (with the
> same log message?):
> 
> Workflow for a Quick Change
> ...
> bzr commit -m "Fix bla bla bla (closes Bug #1)."
> 
> Merging Into the Upstream Master
> ...
> bzr merge
> bzr commit -m "Merge: fix bla bla bla (closes Bug #1)."

It's not twice, it's n+1, where n is the number of commits you do on
the quickfixes branch while you work on the change, and the +1 is to
merge with upstream before you send the changes to the remote
repository on Savannah.  For serious development, you will want that,
and you cannot avoid the last merge with upstream, of course, for
obvious reasons.

As others told you, if your "quick fix" is just a simple change, it
doesn't need a separate branch.  FWIW, I make such changes directly in
the trunk tree, and then the workflow looks very similar to CVS: just
hack, test, and commit once, which commits to the remote repository as
well as the local one.




      parent reply	other threads:[~2010-01-11 22:08 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-11 21:10 bzr workflow Sam Steingold
2010-01-11 21:35 ` Andreas Schwab
2010-01-11 21:57   ` Sam Steingold
2010-01-11 23:05     ` Andreas Schwab
2010-01-11 21:37 ` Óscar Fuentes
2010-01-11 22:13   ` Chong Yidong
2010-01-12  7:47   ` Jan Djärv
2010-01-12  8:40     ` Óscar Fuentes
2010-01-12  9:39       ` Jan Djärv
2010-01-12  9:48         ` Óscar Fuentes
2010-01-12 19:41         ` Eli Zaretskii
2010-01-13  7:24           ` Jan D.
2010-01-13  0:01         ` Juanma Barranquero
2010-01-13  2:18           ` Stephen J. Turnbull
2010-01-13  2:16             ` Juanma Barranquero
2010-01-13  3:23               ` Stephen J. Turnbull
2010-01-13  3:29                 ` Lennart Borgman
2010-01-13  4:18                   ` Eli Zaretskii
2010-01-13  4:56                     ` Lennart Borgman
2010-01-13  8:48                       ` Stephen J. Turnbull
2010-01-13  3:53                 ` Juanma Barranquero
2010-01-13  2:27             ` Karl Fogel
2010-01-13  4:02               ` Stephen J. Turnbull
2010-01-13  4:20                 ` Eli Zaretskii
2010-01-13 16:55                 ` Karl Fogel
2010-01-13  4:17               ` Eli Zaretskii
2010-01-13  8:31               ` Óscar Fuentes
2010-01-12 19:35     ` Eli Zaretskii
2010-01-11 22:08 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83aawk8fbp.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=sds@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).