[Buildbot-commits] buildbot/buildbot/scripts runner.py,1.38,1.39
Brian Warner
warner at users.sourceforge.net
Tue Oct 25 01:26:13 UTC 2005
Update of /cvsroot/buildbot/buildbot/buildbot/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv8323/buildbot/scripts
Modified Files:
runner.py
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-382
Creator: Brian Warner <warner at lothar.com>
update manual, add --branch to 'buildbot sendchange'
* docs/buildbot.texinfo: update lots of stuff
* buildbot/scripts/runner.py (sendchange): add a --branch argument
to the 'buildbot sendchange' command
* buildbot/clients/sendchange.py (Sender.send): same
* buildbot/changes/pb.py (ChangePerspective): same
* buildbot/test/test_changes.py (Sender.testSender): test it
Index: runner.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/buildbot/scripts/runner.py,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- runner.py 24 Oct 2005 21:39:52 -0000 1.38
+++ runner.py 25 Oct 2005 01:26:10 -0000 1.39
@@ -513,6 +513,7 @@
("master", "m", None,
"Location of the buildmaster's PBListener (host:port)"),
("username", "u", None, "Username performing the commit"),
+ ("branch", "b", None, "Branch specifier"),
("revision", "r", None, "Revision specifier (string)"),
("revision_number", "n", None, "Revision specifier (integer)"),
("revision_file", None, None, "Filename containing revision spec"),
@@ -534,6 +535,7 @@
opts = loadOptions()
user = config.get('username', opts.get('username'))
master = config.get('master', opts.get('master'))
+ branch = config.get('branch', opts.get('branch'))
revision = config.get('revision')
# SVN and P4 use numeric revisions
if config.get("revision_number"):
@@ -557,7 +559,7 @@
assert master, "you must provide the master location"
s = Sender(master, user)
- d = s.send(revision, comments, files)
+ d = s.send(branch, revision, comments, files)
if runReactor:
d.addCallbacks(s.printSuccess, s.printFailure)
d.addCallback(s.stop)
More information about the Commits
mailing list