[SCM] Samba Shared Repository - branch master updated

Jelmer Vernooij jelmer at samba.org
Sat Oct 2 16:04:36 MDT 2010


The branch, master has been updated
       via  b9bef1f land-remote: Pass extra arguments on to land.
      from  22f633d pytdb: Include Python.h first to prevent warning.

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit b9bef1fd3ff5952eec0f123e4cdd290cd41dca67
Author: Jelmer Vernooij <jelmer at samba.org>
Date:   Sun Oct 3 00:04:59 2010 +0200

    land-remote: Pass extra arguments on to land.

-----------------------------------------------------------------------

Summary of changes:
 script/land-remote.py |    5 +++--
 script/land.py        |    1 -
 2 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/script/land-remote.py b/script/land-remote.py
index cb0d7da..75f1b41 100755
--- a/script/land-remote.py
+++ b/script/land-remote.py
@@ -7,7 +7,7 @@ import optparse
 import subprocess
 import sys
 
-parser = optparse.OptionParser("autoland-remote [options]")
+parser = optparse.OptionParser("autoland-remote [options] [trees...]")
 parser.add_option("--remote-repo", help="Location of remote repository (default: temporary repository)", type=str, default=None)
 parser.add_option("--host", help="Host to land on (SSH connection string)", type=str, default="sn-devel-104.sn.samba.org")
 parser.add_option("--foreground", help="Don't daemonize", action="store_true", default=False)
@@ -24,7 +24,7 @@ parser.add_option("--fix-whitespace", help="fix whitespace on rebase",
 parser.add_option("--fail-slowly", help="continue running tests even after one has already failed",
                   action="store_true")
 
-(opts, args) = parser.parse_args()
+(opts, extra_args) = parser.parse_args()
 
 if not opts.foreground and not opts.email:
     print "Not running in foreground and --email not specified."
@@ -71,6 +71,7 @@ if opts.rebase:
     remote_args.append("--rebase=%s" % opts.rebase)
 if opts.passcmd:
     remote_args.append("--passcmd=%s" % opts.passcmd)
+remote_args += extra_args
 print "%s$ %s" % (opts.host, " ".join(remote_args))
 args = ["ssh", "-A", opts.host] + remote_args
 sys.exit(subprocess.call(args))
diff --git a/script/land.py b/script/land.py
index 8f17c7c..632f844 100755
--- a/script/land.py
+++ b/script/land.py
@@ -201,7 +201,6 @@ class SubunitTreeStageBuilder(TreeStageBuilder):
             self.status = self.proc.poll()
             if self.status is not None:
                 self.subunit.close()
-                import pdb; pdb.set_trace()
             return self.status
 
 


-- 
Samba Shared Repository


More information about the samba-cvs mailing list