Lines Matching refs:branch
8 # extension branch meet the requirement of being 1.
10 # Usage: textSpecVersion.py [-branch branchname] [-registry file]
12 # Checks for an XML <extension> matching the branch name specified
13 # on the command line, or the current branch if not specified.
15 # If not found, the branch is not an extension staging branch; succeed.
28 parser.add_argument('-branch', action='store',
30 help='Specify branch to check against')
43 if args.branch is None:
44 (args.branch, errors) = getBranch()
45 if args.branch is None:
46 print('ERROR - Cannot determine current git branch:', errors)
49 elem = tree.find('extensions/extension[@name="' + args.branch + '"]')
52 print('Success - assuming', args.branch, 'is not an extension branch')
57 print('Success - branch name', args.branch, 'matches, but extension is disabled')
66 print('Success - {} = {} for branch {}'.format(
67 name, value, args.branch))
70 print('ERROR - {} = {} for branch {}, but must be >= 1'.format(
71 name, value, args.branch))
74 print('ERROR - no SPEC_VERSION token found for branch', args.branch)