land-remote: Use --repository option.
authorJelmer Vernooij <jelmer@samba.org>
Fri, 1 Oct 2010 19:35:35 +0000 (21:35 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Sat, 2 Oct 2010 11:14:51 +0000 (13:14 +0200)
script/land-remote.py

index eeedcadc1e08660b8cfdd0c6b4fd21698eb0d20e..705b408bd909081b0afcc923a60ddc169d48bfcf 100755 (executable)
@@ -47,7 +47,7 @@ print "Pushing local branch"
 args = ["git", "push", "--force", "git+ssh://%s/%s" % (opts.host, remote_repo), "HEAD:HEAD"]
 print "$ " + " ".join(args)
 subprocess.check_call(args)
-remote_args = ["cd", remote_repo, "&&", "python", "./script/autobuild.py"]
+remote_args = ["python", "%s/script/land.py" % remote_repo, "--repository=%s" % remote_repo]
 if opts.email:
     remote_args.append("--email=%s" % opts.email)
 if opts.always_email: