Rev 4847: Document how to resolve tag conflicts. (Neil Martinsen-Burrell, in file:///home/pqm/archives/thelove/bzr/%2Btrunk/ Patch Queue Manager pqm at
Tue Dec 1 10:22:14 GMT 2009

At file:///home/pqm/archives/thelove/bzr/%2Btrunk/

revno: 4847 [merge]
revision-id: pqm at
parent: pqm at
parent: nmb at
committer: Patch Queue Manager <pqm at>
branch nick: +trunk
timestamp: Tue 2009-12-01 10:22:12 +0000
  Document how to resolve tag conflicts. (Neil Martinsen-Burrell,
  bzrlib/help_topics/en/conflicts.txt conflicts.txt-20070723221841-ns3jvwxdb4okn6fk-1
=== modified file 'bzrlib/'
--- a/bzrlib/	2009-03-23 14:59:43 +0000
+++ b/bzrlib/	2009-11-23 03:15:33 +0000
@@ -53,13 +53,12 @@
     instead.  (This is useful for editing all files with text conflicts.)
     Use bzr resolve when you have fixed a problem.
-    See also bzr resolve.
     takes_options = [
                    help='List paths of files with text conflicts.'),
+    _see_also = ['resolve']
     def run(self, text=False):
         from bzrlib.workingtree import WorkingTree
@@ -82,16 +81,15 @@
     before you should commit.
     Once you have fixed a problem, use "bzr resolve" to automatically mark
-    text conflicts as fixed, resolve FILE to mark a specific conflict as
+    text conflicts as fixed, "bzr resolve FILE" to mark a specific conflict as
     resolved, or "bzr resolve --all" to mark all conflicts as resolved.
-    See also bzr conflicts.
     aliases = ['resolved']
     takes_args = ['file*']
     takes_options = [
             Option('all', help='Resolve all conflicts in this tree.'),
+    _see_also = ['conflicts']
     def run(self, file_list=None, all=False):
         from bzrlib.workingtree import WorkingTree
         if all:

=== modified file 'bzrlib/help_topics/en/conflicts.txt'
--- a/bzrlib/help_topics/en/conflicts.txt	2007-12-25 04:17:50 +0000
+++ b/bzrlib/help_topics/en/conflicts.txt	2009-11-25 16:42:55 +0000
@@ -79,6 +79,29 @@
 FILE".  Bazaar cannot auto-detect when conflicts of this kind have been
+Tag conflicts
+Typical message::
+  Conflicting tags:
+      version-0.1
+When pulling from or pushing to another branch, Bazaar informs you about tags
+that conflict between the two branches; that is the same tag points to two
+different revisions.  You need not resolve these conflicts, but subsequent
+uses of pull or push will result in the same message.
+To resolve the conflict, you must apply the correct tags to either the target
+branch or the source branch as appropriate.  Use "bzr tags --show-ids -d
+SOURCE_URL" to see the tags in the source branch.  If you want to make the
+target branch's tags match the source branch, then in the target branch do 
+``bzr tag --force -r revid:REVISION_ID CONFLICTING_TAG`` for each of the
+CONFLICTING_TAGs, where REVISION_ID comes from the list of tags in the source
+branch.  You need not call "bzr resolve" after doing this.  To resolve in favor of the target branch, you need to similarly use ``tag --force`` in the source
+branch.  (Note that pulling or pushing using --overwrite will overwrite all
+tags as well.)
 Duplicate paths

More information about the bazaar-commits mailing list