You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2018/04/12 11:04:23 UTC

svn commit: r1828970 - /subversion/trunk/build/transform_sql.py

Author: philip
Date: Thu Apr 12 11:04:23 2018
New Revision: 1828970

URL: http://svn.apache.org/viewvc?rev=1828970&view=rev
Log:
Remove one source of unnecessary variation between tarballs for
different Subversion releases.

* build/transform_sql.py
  (main): Avoid putting the full path to token-map.h in the "automatically
   generated" comment as this varies depending on the local path.  The
   other filename in the comment is already simply a basename.

Modified:
    subversion/trunk/build/transform_sql.py

Modified: subversion/trunk/build/transform_sql.py
URL: http://svn.apache.org/viewvc/subversion/trunk/build/transform_sql.py?rev=1828970&r1=1828969&r2=1828970&view=diff
==============================================================================
--- subversion/trunk/build/transform_sql.py (original)
+++ subversion/trunk/build/transform_sql.py Thu Apr 12 11:04:23 2018
@@ -274,7 +274,7 @@ def main(input_filepath, output):
     '/* This file is automatically generated from %s and %s.\n'
     ' * Do not edit this file -- edit the source and rerun gen-make.py */\n'
     '\n'
-    % (filename, token_map_filename))
+    % (filename, os.path.basename(token_map_filename)))
 
   proc = Processor(os.path.dirname(input_filepath), output, var_name, token_map)
   proc.process_file(input)