From d0f54702c5210e910f29e7067409495c8c186752 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 7 Feb 2011 11:43:03 +1100 Subject: autobuild: fixed clone source for build trees this fixes a bug where autobuild would test the tree that the user pushed, not the tree that has been rebased on master. That could cause broken trees to get into master. Andrew Bartlett noticed this with a tree from Jan 19th. Pair-Programmed-With: Andrew Bartlett --- script/autobuild.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'script/autobuild.py') diff --git a/script/autobuild.py b/script/autobuild.py index d64ecfb390..efeb797008 100755 --- a/script/autobuild.py +++ b/script/autobuild.py @@ -157,7 +157,7 @@ class builder(object): cleanup_list.append(self.prefix) os.makedirs(self.sdir) run_cmd("rm -rf %s" % self.sdir) - run_cmd("git clone --shared %s %s" % (gitroot, self.sdir)) + run_cmd("git clone --shared %s %s" % (test_master, self.sdir), dir=test_master, show=True) self.start_next() def start_next(self): -- cgit