From: Andrew Tridgell Date: Mon, 7 Feb 2011 00:43:03 +0000 (+1100) Subject: autobuild: fixed clone source for build trees X-Git-Tag: tevent-0.9.11~951 X-Git-Url: http://git.samba.org/?p=samba.git;a=commitdiff_plain;h=d0f54702c5210e910f29e7067409495c8c186752 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 --- diff --git a/script/autobuild.py b/script/autobuild.py index d64ecfb3906..efeb7970087 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):