Previewing merge directive contents?

Janne Snabb snabb at epipe.com
Thu Jan 27 06:12:21 UTC 2011


Hi,

This is probably really silly question. But I have tried looking
at the documentation, searching google and experimenting but I have
not found a reasonable solution.

If I receive a merge directive (created by bzr send), how can I
look at the contents of it, including the full commit messages etc.
before merging it?

The only way that I figured out is as follows:

1. branch my main development trunk in to a separate feature branch

2. merge the received merge directive to the newly created feature branch

3. commit the merge to the feature branch

4. do "bzr log" and similar things to see what actually came with
the merge directive

5. merge the change to trunk if it is acceptable


The above workflow seems a bit tedious. There must be a simpler way
to review merge directives. One alternative is to merge and commit
to trunk and then uncommit and revert if the received merge directive
is not something I want... but I do not want to commit something
to trunk before I know what it is even though uncommit is possible.

If I do not commit but just merge, I can do bzr diff and bzr st to
see some data about the introduced changes, but I can not review
the full commit messages for example (I can see only the first line
with bzr st).

How can I see the full contents of a merge directive without
committing and preferrably not even merging it to an existing branch?

--
Janne Snabb / EPIPE Communications
snabb at epipe.com - http://epipe.com/




More information about the bazaar mailing list