Author: asomers
Date: Tue Jan  9 21:02:39 2018
New Revision: 327739
URL: https://svnweb.freebsd.org/changeset/base/327739

Log:
  Add Pull Request to the Subversion commit template
  
  Reviewed by:  emaste
  MFC after:    2 weeks
  Differential Revision:        https://reviews.freebsd.org/D13178

Modified:
  head/contrib/subversion/subversion/svn/util.c

Changes in other areas also in this revision:
Modified:
  svnadmin/hooks/scripts/log-police.py

Modified: head/contrib/subversion/subversion/svn/util.c
==============================================================================
--- head/contrib/subversion/subversion/svn/util.c       Tue Jan  9 20:53:30 
2018        (r327738)
+++ head/contrib/subversion/subversion/svn/util.c       Tue Jan  9 21:02:39 
2018        (r327739)
@@ -352,6 +352,7 @@ static const char *prefixes[] = {
   "Relnotes:",
   "Security:",
   "Sponsored by:",
+  "Pull Request:",
   "Differential Revision:",
 };
 
@@ -443,6 +444,7 @@ svn_cl__get_log_message(const char **log_msg,
   if (sponsored_by != NULL)
          svn_stringbuf_appendcstr(default_msg, sponsored_by);
   svn_stringbuf_appendcstr(default_msg, APR_EOL_STR);
+  svn_stringbuf_appendcstr(default_msg, "Pull Request:\t" APR_EOL_STR);
   svn_stringbuf_appendcstr(default_msg, "Differential Revision:\t" 
APR_EOL_STR);
   svn_stringbuf_appendcstr(default_msg, EDITOR_EOF_PREFIX);
   svn_stringbuf_appendcstr(default_msg, APR_EOL_STR);
@@ -458,6 +460,7 @@ svn_cl__get_log_message(const char **log_msg,
   svn_stringbuf_appendcstr(default_msg, "> Relnotes:                 Set to 
'yes' for mention in release notes." APR_EOL_STR);
   svn_stringbuf_appendcstr(default_msg, "> Security:                 
Vulnerability reference (one per line) or description." APR_EOL_STR);
   svn_stringbuf_appendcstr(default_msg, "> Sponsored by:             If the 
change was sponsored by an organization." APR_EOL_STR);
+  svn_stringbuf_appendcstr(default_msg, "> Pull Request:             
https://github.com/freebsd/freebsd/pull/### (*full* GitHub URL needed)." 
APR_EOL_STR);
   svn_stringbuf_appendcstr(default_msg, "> Differential Revision:    
https://reviews.freebsd.org/D### (*full* phabric URL needed)." APR_EOL_STR);
   svn_stringbuf_appendcstr(default_msg, "> Empty fields above will be 
automatically removed." APR_EOL_STR);
   svn_stringbuf_appendcstr(default_msg, APR_EOL_STR);
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "[email protected]"

Reply via email to