svn commit: r448612 - head/Tools/scripts

Mathieu Arnold mat at FreeBSD.org
Wed Aug 23 13:59:42 UTC 2017


Author: mat
Date: Wed Aug 23 13:59:41 2017
New Revision: 448612
URL: https://svnweb.freebsd.org/changeset/ports/448612

Log:
  Do not add $FreeBSD$ to the patch files.
  
  Sponsored by:	Absolight

Modified:
  head/Tools/scripts/patchtool.py

Modified: head/Tools/scripts/patchtool.py
==============================================================================
--- head/Tools/scripts/patchtool.py	Wed Aug 23 13:42:03 2017	(r448611)
+++ head/Tools/scripts/patchtool.py	Wed Aug 23 13:59:41 2017	(r448612)
@@ -210,9 +210,6 @@ def gendiff(path, wrksrc, outfile = ''):
 		if (outfile != ''):
 			outbuf[0] = '--- %s\n' % path_orig
 			outbuf[1] = '+++ %s\n' % path
-			outbuf.insert(0, '\n')
-			outbuf.insert(0, '$%s$\n' % Vars.CVS_ID)
-			outbuf.insert(0, '\n')
 			open(outfile, 'w').writelines(outbuf)
 		else:
 			sys.stdout.writelines(outbuf)


More information about the svn-ports-all mailing list