aboutsummaryrefslogtreecommitdiffstats
path: root/Tools/scripts
diff options
context:
space:
mode:
authorsbz <sbz@FreeBSD.org>2014-06-19 04:18:33 +0800
committersbz <sbz@FreeBSD.org>2014-06-19 04:18:33 +0800
commit166f92c393f990bdc3db4c0a5517e69bb670a4d1 (patch)
tree21b8234b4a11643bd3f3d7b8ac11bb59bf35c0e7 /Tools/scripts
parentfc7c689a0b481d7fafc7926342c00514ce22ed17 (diff)
downloadfreebsd-ports-gnome-166f92c393f990bdc3db4c0a5517e69bb670a4d1.tar.gz
freebsd-ports-gnome-166f92c393f990bdc3db4c0a5517e69bb670a4d1.tar.zst
freebsd-ports-gnome-166f92c393f990bdc3db4c0a5517e69bb670a4d1.zip
- Switch to bugzilla as default value for the mode
CR: D235 Submitted by: rakuco
Diffstat (limited to 'Tools/scripts')
-rw-r--r--Tools/scripts/README.getpatch12
-rwxr-xr-xTools/scripts/getpatch2
2 files changed, 7 insertions, 7 deletions
diff --git a/Tools/scripts/README.getpatch b/Tools/scripts/README.getpatch
index 75501b699179..0ed6490adae3 100644
--- a/Tools/scripts/README.getpatch
+++ b/Tools/scripts/README.getpatch
@@ -37,15 +37,15 @@ EXAMPLES
getpatch --mode gnats ports/166692
- or
+ Retrieve all patches attached to PR ports/166692 from Bugzilla BTS:
- getpatch 166692
+ getpatch --mode bz ports/166692
- Gnats is the default BTS and category isn't mandatory.
+ or
- Retrieve all patches attached to PR ports/166692 from Bugzilla BTS:
+ getpatch 166692
- getpatch --mode bz ports/166692
+ Bugzilla is the default BTS and category isn't mandatory.
Retrieve only the latest iteration of the patch:
@@ -82,4 +82,4 @@ BUGS
If you're using getpatch and you encounter a bug or want an improvement
don't hesitate to mail me.
-FreeBSD 14 August 2012 FreeBSD
+FreeBSD 18 June 2014 FreeBSD
diff --git a/Tools/scripts/getpatch b/Tools/scripts/getpatch
index bf8da76cb7f0..037f424c4f69 100755
--- a/Tools/scripts/getpatch
+++ b/Tools/scripts/getpatch
@@ -171,7 +171,7 @@ def main():
parser.add_argument('pr', metavar='pr', type=str, nargs=1,
help='Pr id number')
parser.add_argument('--mode', type=str, choices=['gnats','bz'],
- default='gnats', help='available modes to retrieve patch')
+ default='bz', help='available modes to retrieve patch')
parser.add_argument('--last', action='store_true',
help='only retrieve the latest iteration of a patch')
parser.add_argument('--stdout', action='store_true',