lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mikemcc...@apache.org
Subject [2/3] lucene-solr git commit: LUCENE-6938: add TODO that we should also detect unpushed commits
Date Thu, 11 Feb 2016 15:23:16 GMT
LUCENE-6938: add TODO that we should also detect unpushed commits


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/7509b9c9
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/7509b9c9
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/7509b9c9

Branch: refs/heads/master
Commit: 7509b9c9691514c3f6c231a35f29e340b3484fc1
Parents: de9d4ac
Author: Mike McCandless <mikemccand@apache.org>
Authored: Thu Feb 11 10:07:05 2016 -0500
Committer: Mike McCandless <mikemccand@apache.org>
Committed: Thu Feb 11 10:24:09 2016 -0500

----------------------------------------------------------------------
 dev-tools/scripts/buildAndPushRelease.py | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/7509b9c9/dev-tools/scripts/buildAndPushRelease.py
----------------------------------------------------------------------
diff --git a/dev-tools/scripts/buildAndPushRelease.py b/dev-tools/scripts/buildAndPushRelease.py
index c735621..6774e42 100644
--- a/dev-tools/scripts/buildAndPushRelease.py
+++ b/dev-tools/scripts/buildAndPushRelease.py
@@ -61,8 +61,10 @@ def getGitRev():
   status = os.popen('git status').read().strip()
   if 'nothing to commit, working directory clean' not in status:
     raise RuntimeError('git clone is dirty:\n\n%s' % status)
+
+  # TODO: we should also detect unpushed changes here?  Something like "git cherry -v origin/branch_5_5"?
+  print('  git clone is clean')
   return os.popen('git rev-parse HEAD').read().strip()
-  
 
 def prepare(root, version, gpgKeyID, gpgPassword):
   print()


Mime
View raw message