Rev 56: Get the package name from the changelog processor. in http://people.canonical.com/~robertc/baz2.0/plugins/builder/blocking
Robert Collins
robertc at robertcollins.net
Fri Oct 23 02:46:59 BST 2009
At http://people.canonical.com/~robertc/baz2.0/plugins/builder/blocking
------------------------------------------------------------
revno: 56
revision-id: robertc at robertcollins.net-20091023014639-0gqh0c7tpo5bs0co
parent: robertc at robertcollins.net-20091023001410-g7zoncjp4vv7jg3b
committer: Robert Collins <robertc at robertcollins.net>
branch nick: blocking
timestamp: Fri 2009-10-23 12:46:39 +1100
message:
Get the package name from the changelog processor.
=== modified file '__init__.py'
--- a/__init__.py 2009-10-23 00:14:10 +0000
+++ b/__init__.py 2009-10-23 01:46:39 +0000
@@ -313,8 +313,7 @@
if watch_ppa:
from bzrlib.plugins.builder.ppa import watch
target = target_from_dput(dput)
- return watch(target, package or recipe_name,
- base_branch.deb_version)
+ return watch(target, self.package, base_branch.deb_version)
def _add_changelog_entry(self, base_branch, basedir, distribution=None,
@@ -343,6 +342,7 @@
"specified.")
if distribution is None:
distribution = "jaunty"
+ self.package = package
# Use debian packaging environment variables
# or default values if they don't exist
author = "%s <%s>" % self._get_maintainer()
More information about the bazaar-commits
mailing list