all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Kenichi Handa <handa@m17n.org>
To: Stefan Monnier <monnier@iro.umontreal.ca>
Cc: emacs-devel@gnu.org
Subject: Re: Changes to emacs-23 branch and the trunk
Date: Tue, 31 Aug 2010 10:54:09 +0900	[thread overview]
Message-ID: <tl78w3n35tq.fsf@m17n.org> (raw)
In-Reply-To: <jwvlj7oks6c.fsf-monnier+emacs@gnu.org> (message from Stefan Monnier on Mon, 30 Aug 2010 18:03:14 +0200)

In article <jwvlj7oks6c.fsf-monnier+emacs@gnu.org>, Stefan Monnier <monnier@iro.umontreal.ca> writes:

> > I'm going to fix the display-table related problem in >
> emacs-23 branch.  But, the diff of the change will
> conflict > with the trunk code.  As I'm afraid that it's
> not a simple > work to resolve that confliction, I want to
> apply the same > change to the trunk code by myself.

> It's basically easy:

>    cd .../trunk
>    bzr merge .../emacs-23
>    <resolve&commit>
   
>    cd .../emacs-23
>    <make-change>
>    bzr commit -m ...
>    cd .../trunk
>    bzr merge .../emacs-23
>    bzr revert .
>    <make-the-change-by-hand>
>    bzr commit -m "Merge by hand from emacs-23">

Thank you for the detailed procedure, but I'm not working
directly in emacs-23 and trunk branches but in "Task
Branches".  I have these branches:

trunk -- bound to upstream
emacs-23 -- bound to upstream
work -- made by "bzr branch trunk work"
work-23 -- made by "bzr branch emacs-23 work-23"

And, this is my workflow for Emacs 23:

A % cd work-23
  <make-change>
  % bzr commit -m 'my change'
  % cd ../emacs-23
B % bzr up
  <if there's no new change, go to step C)
  % cd ../work-23
  % bzr merge
  <resolve conflicts if any>
  % bzr commit -m 'merge emacs-23'
  % cd ../emacs-23
C % bzr merge ../work-23
  % bzr commit -m 'my change'
  <if it's refused by conflicts, do "bzr revert" and goto step B>
  <go to step A for another work>

So to apply your procedure in the above model, what I should
do is this, right?

A % cd work-23
  <make-change>
  % bzr commit -m 'my change'
  % cd ../emacs-23
B % bzr up
  <assuming that there's no new change>
C % bzr merge ../work-23
  % bzr commit -m 'my change'
  % cd ../work
  % bzr merge ../emacs-23
  <fix conflicts>
  % bzr commit -m "Merge by hand from emacs-23"
  % cd ../trunk
  % bzr up
  <assuming that there's no new change>
  % bzr commit -m "Merge by hand from emacs-23"

Does this surely records that the trunk already took in my
change for emacs-23?  I think that's necessary to avoid
future double merging.

---
Kenichi Handa
handa@m17n.org



  reply	other threads:[~2010-08-31  1:54 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-30  8:20 Changes to emacs-23 branch and the trunk Kenichi Handa
2010-08-30 14:19 ` Chong Yidong
2010-08-30 20:20   ` Juanma Barranquero
2010-09-14 15:03     ` Juanma Barranquero
2010-09-16 22:33       ` Chong Yidong
2010-09-17 15:09         ` Juanma Barranquero
2010-08-30 16:03 ` Stefan Monnier
2010-08-31  1:54   ` Kenichi Handa [this message]
2010-08-31  8:43     ` Stefan Monnier
2010-08-31 11:44       ` Kenichi Handa
2010-08-31 11:59         ` Andreas Schwab
2010-08-31 12:37           ` Kenichi Handa
2010-08-31 17:05             ` Eli Zaretskii
2010-08-31 13:08         ` Stefan Monnier
2010-09-01  0:32           ` Kenichi Handa
2010-09-01  7:01             ` Stefan Monnier
2010-09-02  2:49               ` Kenichi Handa
2010-09-02  5:07                 ` Eli Zaretskii
2010-09-02  5:33                   ` Kenichi Handa

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

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

  git send-email \
    --in-reply-to=tl78w3n35tq.fsf@m17n.org \
    --to=handa@m17n.org \
    --cc=emacs-devel@gnu.org \
    --cc=monnier@iro.umontreal.ca \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.