OSDN Git Service

[docs] Document how to merge patches into release branches
authorVedant Kumar <vsk@apple.com>
Mon, 25 Jan 2016 22:47:54 +0000 (22:47 +0000)
committerVedant Kumar <vsk@apple.com>
Mon, 25 Jan 2016 22:47:54 +0000 (22:47 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258736 91177308-0d34-0410-b5e6-96231b3b80d8

docs/HowToReleaseLLVM.rst

index 33c547e..f9e5d06 100644 (file)
@@ -335,6 +335,23 @@ Below are the rules regarding patching the release branch:
 #. For dot releases all patches must mantain both API and ABI compatibility with
    the previous major release.  Only bugfixes will be accepted.
 
+Merging Patches
+^^^^^^^^^^^^^^^
+
+The ``utils/release/merge.sh`` script can be used to merge individual revisions
+into any one of the llvm projects. To merge revision ``$N`` into project
+``$PROJ``, do:
+
+#. ``svn co http://llvm.org/svn/llvm-project/$PROJ/branches/release_XX
+   $PROJ.src``
+
+#. ``$PROJ.src/utils/release/merge.sh --proj $PROJ --rev $N``
+
+#. Run regression tests.
+
+#. ``cd $PROJ.src``. Run the ``svn commit`` command printed out by ``merge.sh``
+   in step 2.
+
 Release Final Tasks
 -------------------