Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Jun 2014 20:18:34 +0000 (UTC)
From:      Sofian Brabez <sbz@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r358313 - head/Tools/scripts
Message-ID:  <201406182018.s5IKIYMX045381@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sbz
Date: Wed Jun 18 20:18:33 2014
New Revision: 358313
URL: http://svnweb.freebsd.org/changeset/ports/358313
QAT: https://qat.redports.org/buildarchive/r358313/

Log:
  - Switch to bugzilla as default value for the mode
  
  CR:		D235
  Submitted by:	rakuco

Modified:
  head/Tools/scripts/README.getpatch
  head/Tools/scripts/getpatch

Modified: head/Tools/scripts/README.getpatch
==============================================================================
--- head/Tools/scripts/README.getpatch	Wed Jun 18 20:18:11 2014	(r358312)
+++ head/Tools/scripts/README.getpatch	Wed Jun 18 20:18:33 2014	(r358313)
@@ -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

Modified: head/Tools/scripts/getpatch
==============================================================================
--- head/Tools/scripts/getpatch	Wed Jun 18 20:18:11 2014	(r358312)
+++ head/Tools/scripts/getpatch	Wed Jun 18 20:18:33 2014	(r358313)
@@ -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',



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201406182018.s5IKIYMX045381>