autobuild: push of ref/notes/commits isn't allowed in master
authorAndrew Tridgell <tridge@samba.org>
Thu, 30 Sep 2010 21:42:02 +0000 (14:42 -0700)
committerAndrew Tridgell <tridge@samba.org>
Thu, 30 Sep 2010 22:25:02 +0000 (22:25 +0000)
metze may enable this later

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Thu Sep 30 22:25:02 UTC 2010 on sn-devel-104

script/autobuild.py

index 62cef69197352b2d8d2de4094c8a4564e03f7525..f1e29a7a83bb4095cc100d51641eea9dbf722b24 100755 (executable)
@@ -270,7 +270,9 @@ def rebase_tree(url):
 def push_to(url):
     print("Pushing to %s" % url)
     if options.mark:
-        run_cmd("EDITOR=script/commit_mark.sh git notes edit HEAD", dir=test_master)
+        run_cmd("EDITOR=script/commit_mark.sh git commit --amend -c HEAD", dir=test_master)
+        # the notes method doesn't work yet, as metze hasn't allowed refs/notes/* in master
+        # run_cmd("EDITOR=script/commit_mark.sh git notes edit HEAD", dir=test_master)
     run_cmd("git remote add -t master pushto %s" % url, show=True, dir=test_master)
     run_cmd("git push pushto +HEAD:master", show=True, dir=test_master)