]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Fixed the readme examples 18281/head
authorJos Collin <jcollin@redhat.com>
Tue, 17 Oct 2017 06:08:49 +0000 (11:38 +0530)
committerJos Collin <jcollin@redhat.com>
Tue, 17 Oct 2017 15:03:33 +0000 (20:33 +0530)
Fixed the readme examples, according to the new --label definition.

Signed-off-by: Jos Collin <jcollin@redhat.com>
src/script/ptl-tool.py

index 486d3148ce045250c42dd278a5f5890c28d5e67d..1e6e43039d45b077d3cfe965e9ce98899340e3e1 100755 (executable)
@@ -20,7 +20,7 @@
 #
 # Merging PR #1234567 and #2345678 into a new test branch with a testing label added to the PR:
 #
-# $ env PTL_TOOL_BASE_PATH=refs/remotes/upstream/ src/script/ptl-tool.py --base master 1234567 2345678
+# $ src/script/ptl-tool.py --base master 1234567 2345678 --label wip-pdonnell-testing
 # Detaching HEAD onto base: master
 # Merging PR #1234567
 # Labeled PR #1234567 wip-pdonnell-testing
@@ -33,7 +33,7 @@
 #
 # Merging PR #1234567 into master leaving a detached HEAD (i.e. do not update your repo's master branch) and do not label:
 #
-# $ env PTL_TOOL_BASE_PATH=refs/remotes/upstream/ src/script/ptl-tool.py --base master --branch HEAD --merge-branch-name --label - master 1234567
+# $ src/script/ptl-tool.py --base master --branch HEAD --merge-branch-name master 1234567
 # Detaching HEAD onto base: master
 # Merging PR #1234567
 # Leaving HEAD detached; no branch anchors your commits
@@ -44,7 +44,7 @@
 #
 # Merging PR #12345678 into luminous leaving a detached HEAD (i.e. do not update your repo's master branch) and do not label:
 #
-# $ env PTL_TOOL_BASE_PATH=refs/remotes/upstream/ src/script/ptl-tool.py --base luminous --branch HEAD --merge-branch-name luminous --label - 12345678
+# $ src/script/ptl-tool.py --base luminous --branch HEAD --merge-branch-name luminous 12345678
 # Detaching HEAD onto base: luminous
 # Merging PR #12345678
 # Leaving HEAD detached; no branch anchors your commits