land-remote: Run remote land command unbuffered.
authorJelmer Vernooij <jelmer@samba.org>
Sat, 2 Oct 2010 22:10:47 +0000 (00:10 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sun, 3 Oct 2010 03:25:17 +0000 (05:25 +0200)
script/land-remote.py
script/land.py

index 75f1b41915deeeb2a690a5bbe43a79ef97cbd4e8..975427ba7d88254b484461bc0c07fafaaa1fd550 100755 (executable)
@@ -50,7 +50,7 @@ print "Pushing local branch"
 args = ["git", "push", "--force", "git+ssh://%s/%s" % (opts.host, remote_repo), "HEAD:land"]
 print "$ " + " ".join(args)
 subprocess.check_call(args)
-remote_args = ["cd", remote_repo, ";", "git", "checkout", "land", ";", "python", "./script/land.py", "--repository=%s" % remote_repo]
+remote_args = ["cd", remote_repo, ";", "git", "checkout", "land", ";", "./script/land.py", "--repository=%s" % remote_repo]
 if opts.email:
     remote_args.append("--email=%s" % opts.email)
 if opts.always_email:
index 632f844558d9bb244ed6ef36c5baa85ee3d23ad5..28769486e21de807c51d40e614e66de908246209 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python -u
 # run tests on all Samba subprojects and push to a git tree on success
 # Copyright Andrew Tridgell 2010
 # Copyright Jelmer Vernooij 2010