subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1800401 - /subversion/trunk/tools/dist/release.py
Date Fri, 30 Jun 2017 13:01:00 GMT
Author: danielsh
Date: Fri Jun 30 13:01:00 2017
New Revision: 1800401

URL: http://svn.apache.org/viewvc?rev=1800401&view=rev
Log:
* tools/dist/release.py
  (create_tag): Unbreak.

The failure mode was:

    $ ./release.py --base-dir=/tmp/svnrm create-tag 1.9.6 r1800392                       
                                                                 
    INFO:root:Creating tag for 1.9.6
    Traceback (most recent call last):
      File "./release.py", line 1083, in <module>
        main()
      File "./release.py", line 1079, in main
        args.func(args)
      File "./release.py", line 613, in create_tag
        svnmucc_cmd += ['put', os.path.join(target, 'svn_version.h.dist' + '-' +
    NameError: global name 'target' is not defined

Modified:
    subversion/trunk/tools/dist/release.py

Modified: subversion/trunk/tools/dist/release.py
URL: http://svn.apache.org/viewvc/subversion/trunk/tools/dist/release.py?rev=1800401&r1=1800400&r2=1800401&view=diff
==============================================================================
--- subversion/trunk/tools/dist/release.py (original)
+++ subversion/trunk/tools/dist/release.py Fri Jun 30 13:01:00 2017
@@ -596,6 +596,8 @@ def post_candidates(args):
 def create_tag(args):
     'Create tag in the repository'
 
+    target = get_target(args)
+
     logging.info('Creating tag for %s' % str(args.version))
 
     if not args.branch:



Mime
View raw message