From 6a029cd9ca662863724920030bb3a325cee28691 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 30 Sep 2010 14:42:02 -0700 Subject: autobuild: push of ref/notes/commits isn't allowed in master metze may enable this later Autobuild-User: Andrew Tridgell Autobuild-Date: Thu Sep 30 22:25:02 UTC 2010 on sn-devel-104 --- script/autobuild.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/script/autobuild.py b/script/autobuild.py index 62cef69197..f1e29a7a83 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -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) -- cgit