Rev 451: Remove a stale line of code and improve import-upstream docs about how to access the imported tarball. in http://people.canonical.com/~robertc/baz2.0/plugins/builddeb/trunk
Robert Collins
robertc at robertcollins.net
Mon May 3 21:53:38 BST 2010
At http://people.canonical.com/~robertc/baz2.0/plugins/builddeb/trunk
------------------------------------------------------------
revno: 451
revision-id: robertc at robertcollins.net-20100503205337-qo85gec2h2hmf87g
parent: robertc at robertcollins.net-20100503075751-wupetzfi8na0ymo2
committer: Robert Collins <robertc at robertcollins.net>
branch nick: trunk
timestamp: Tue 2010-05-04 08:53:37 +1200
message:
Remove a stale line of code and improve import-upstream docs about how to access the imported tarball.
=== modified file 'cmds.py'
--- a/cmds.py 2010-05-03 07:57:51 +0000
+++ b/cmds.py 2010-05-03 20:53:37 +0000
@@ -736,9 +736,13 @@
"""Imports a single upstream tarball.
This calls the core workhorse used by merge-upstream to incorporate
- new tarballs, but makes no changes to your working tree. A common use
- for it is to get a pristine-tar enabled upstream tag for a packaging branch
- which has not been previously using the pristine tar features.
+ new tarballs, but makes no changes to your working tree. It limits itself
+ to adding a tag into your current branch. E.g. importing an upstream with
+ version 2.3 will create upstream-2.3 as a tag.
+
+ A common use for import-upsream is to get a pristine-tar enabled upstream
+ tag for a packaging branch which has not been previously using the pristine
+ tar features.
for instance::
@@ -751,6 +755,10 @@
After doing this, commands that assume there is an upstream tarball, like
'bzr builddeb' will be able to create one on the fly.
+
+ If you want to manually merge with the imported upstream, you can do::
+
+ $ bzr merge . -r upstream-1.2.3
"""
takes_args = ['version', 'location', 'upstream_branch?']
@@ -800,7 +808,6 @@
dbs = DistributionBranchSet()
dbs.add_branch(db)
db.import_upstream_tarball(location, version, parents)
- db.branch.repository.fetch
class cmd_bd_do(Command):
More information about the bazaar-commits
mailing list