[Pkg-bazaar-commits] ./bzr-builddeb/trunk r362: Also query the config for the revision to use in export-upstream

James Westby james.westby at canonical.com
Tue Aug 18 20:11:05 UTC 2009


------------------------------------------------------------
revno: 362
committer: James Westby <james.westby at canonical.com>
branch nick: trunk
timestamp: Tue 2009-08-18 21:11:05 +0100
message:
  Also query the config for the revision to use in export-upstream
modified:
  cmds.py
  config.py
-------------- next part --------------
=== modified file 'cmds.py'
--- a/cmds.py	2009-07-26 18:21:49 +0000
+++ b/cmds.py	2009-08-18 20:11:05 +0000
@@ -324,6 +324,9 @@
                 try:
                     if export_upstream_revision is None:
                         export_upstream_revision = \
+                               config.export_upstream_revision
+                    if export_upstream_revision is None:
+                        export_upstream_revision = \
                                     get_export_upstream_revision(config,
                                             version=version)
                     if export_upstream_revision is None:

=== modified file 'config.py'
--- a/config.py	2009-03-30 11:58:12 +0000
+++ b/config.py	2009-08-18 20:11:05 +0000
@@ -267,6 +267,9 @@
   export_upstream = _opt_property('export-upstream',
                          "Get the upstream source from another branch")
 
+  export_upstream_revision = _opt_property('export-upstream-revision',
+                         "The revision of the upstream source to use.")
+
 
 def _test():
   import doctest



More information about the Pkg-bazaar-commits mailing list