Merge lp:~al-maisan/bzr-builddeb/mpdocs into lp:~bzr-builddeb-hackers/bzr-builddeb/trunk-old

Proposed by Muharem Hrnjadovic
Status: Merged
Merged at revision: not available
Proposed branch: lp:~al-maisan/bzr-builddeb/mpdocs
Merge into: lp:~bzr-builddeb-hackers/bzr-builddeb/trunk-old
Diff against target: None lines
To merge this branch: bzr merge lp:~al-maisan/bzr-builddeb/mpdocs
Reviewer Review Type Date Requested Status
James Westby Approve
Review via email: mp+11447@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Muharem Hrnjadovic (al-maisan) wrote :

Hello there!

The branch at hand adds the documentation for the "merge-package" command. Please take a look. Thanks!

Revision history for this message
James Westby (james-w) wrote :

Merged, thank you.

James

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'doc/user_manual/normal.rst'
2--- doc/user_manual/normal.rst 2009-02-18 22:50:44 +0000
3+++ doc/user_manual/normal.rst 2009-09-04 09:41:10 +0000
4@@ -276,5 +276,38 @@
5 edit the files to resolve the conflicts as normal. Once you have finished
6 you should commit, and then you can carry on with your work.
7
8+Merging a source package
9+########################
10+
11+When merging a source package the ensuing differences will ideally be
12+germane to the target packaging branch. However, on occasion the source and
13+target upstream ancestry may have diverged, resulting in spurious conflicts.
14+
15+The 'merge-package' command can then be used to consolidate the ancestry in
16+automated fashion. For example::
17+
18+ $ bzr branch ~/src/ubuntu/karmic/ipsec-tools/karmic/
19+ $ cd karmic/
20+ $ bzr merge-package ~/src/debian/sid/ipsec-tools/sid/
21+
22+On success ``merge-package`` will leave the branch in the same state as a
23+normal merge allowing you to review and commit.
24+
25+In a small number of cases, however, the source `upstream` and target
26+`packaging` branches will have conflicts that cause the following error
27+instead::
28+
29+ The upstream branches for the merge source and target have diverged.
30+ Unfortunately, the attempt to fix this problem resulted in conflicts.
31+ Please resolve these, commit and re-run the "merge-package" command to
32+ finish.
33+ Alternatively, until you commit you can use "bzr revert" to restore the
34+ state of the unmerged branch.
35+
36+Resolving the conflicts at hand, committing the changes and re-running
37+``merge-package`` to finish is probably the best course of action. Having
38+said that, you can return to the state before starting with ``bzr revert``
39+just like with a normal merge.
40+
41 .. vim: set ft=rst tw=76 :
42

Subscribers

People subscribed via source and target branches