diff options
author | Sofian Brabez <sbz@FreeBSD.org> | 2014-06-18 20:18:33 +0000 |
---|---|---|
committer | Sofian Brabez <sbz@FreeBSD.org> | 2014-06-18 20:18:33 +0000 |
commit | 2b31a2273132ecf000b69bf68bba8bcd4f28cb51 (patch) | |
tree | 21b8234b4a11643bd3f3d7b8ac11bb59bf35c0e7 /Tools | |
parent | 4e5b54a3ec8f72c72243f4dab83be96e8ecaa4d6 (diff) | |
download | ports-2b31a2273132ecf000b69bf68bba8bcd4f28cb51.tar.gz ports-2b31a2273132ecf000b69bf68bba8bcd4f28cb51.zip |
- Switch to bugzilla as default value for the mode
CR: D235
Submitted by: rakuco
Notes
Notes:
svn path=/head/; revision=358313
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/scripts/README.getpatch | 12 | ||||
-rwxr-xr-x | Tools/scripts/getpatch | 2 |
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', |