You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by sa...@apache.org on 2016/05/13 22:41:36 UTC
[2/4] lucene-solr:branch_6x: addVersion.py (via scriptutil.py): fix
name of the running script in error message
addVersion.py (via scriptutil.py): fix name of the running script in error message
Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/e9e8e3ea
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/e9e8e3ea
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/e9e8e3ea
Branch: refs/heads/branch_6x
Commit: e9e8e3ead9fea2e408b426e5ac7d63f2f72b2135
Parents: 6e52d62
Author: Steve Rowe <sa...@apache.org>
Authored: Fri May 13 15:36:31 2016 -0400
Committer: Steve Rowe <sa...@apache.org>
Committed: Fri May 13 17:23:37 2016 -0400
----------------------------------------------------------------------
dev-tools/scripts/scriptutil.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/e9e8e3ea/dev-tools/scripts/scriptutil.py
----------------------------------------------------------------------
diff --git a/dev-tools/scripts/scriptutil.py b/dev-tools/scripts/scriptutil.py
index 216bde4..419ccbe 100644
--- a/dev-tools/scripts/scriptutil.py
+++ b/dev-tools/scripts/scriptutil.py
@@ -115,7 +115,7 @@ def find_branch_type():
return BranchType.stable
if re.match(r'branch_(\d+)_(\d+)', branchName.decode('UTF-8')):
return BranchType.release
- raise Exception('Cannot run bumpVersion.py on feature branch')
+ raise Exception('Cannot run %s on feature branch' % sys.argv[0].rsplit('/', 1)[-1])
version_prop_re = re.compile('version\.base=(.*)')
def find_current_version():