emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installing changes from branches


From: Óscar Fuentes
Subject: Re: Installing changes from branches
Date: Sat, 03 Apr 2010 16:30:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.93 (gnu/linux)

Stefan Monnier <address@hidden> writes:

[snip]

>> Something like a collapsed merge would be good, i.e. merge from quickfix,
>> but only record it as a single commit.
>
> Indeed, you can also do that:
>
>   cd .../trunk
>   bzr merge .../quickfix
>   bzr revert --forget-merges
>   bzr commit ...
>
> that's virtually the same as "diff&patch": it forgets all about the
> branch's history.

This requires to reset the `quickfix' branch afterwards, or the next
time it will merge the same changes again. So the full sequence would be
(untested):

  cd .../trunk
  bzr merge .../quickfix
  bzr revert --forget-merges
  bzr commit ...
  cd .../quickfix
  bzr pull --overwrite

The last command discards the local changes made on `quickfix' and makes
that branch a clone of `trunk'





reply via email to

[Prev in Thread] Current Thread [Next in Thread]