Merge lp:~jelmer/gf.recipe.bzr/avoid-bzr-get into lp:gf.recipe.bzr

Proposed by Jelmer Vernooij
Status: Merged
Merged at revision: 64
Proposed branch: lp:~jelmer/gf.recipe.bzr/avoid-bzr-get
Merge into: lp:gf.recipe.bzr
Diff against target: 25 lines (+2/-2)
2 files modified
docs/README.txt (+1/-1)
gf/recipe/bzr/bzr.py (+1/-1)
To merge this branch: bzr merge lp:~jelmer/gf.recipe.bzr/avoid-bzr-get
Reviewer Review Type Date Requested Status
Balazs Ree Approve
Review via email: mp+89079@code.launchpad.net

Description of the change

Avoid 'bzr get', which is deprecated. Instead, use 'bzr branch'.

To post a comment you must log in.
Revision history for this message
Balazs Ree (ree) wrote :

Thanks!

review: Approve
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Thanks for the review. :-) Can you land this branch?

Revision history for this message
Balazs Ree (ree) wrote :

Just landed.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'docs/README.txt'
2--- docs/README.txt 2009-07-31 21:15:40 +0000
3+++ docs/README.txt 2012-01-18 17:09:23 +0000
4@@ -82,7 +82,7 @@
5 in_parts = False
6 http_authentication = username:password
7
8-This will ``bzr get`` the branches to ``bzr/kss.plugin.sdnd`` and
9+This will ``bzr branch`` the branches to ``bzr/kss.plugin.sdnd`` and
10 ``bzr/kss.plugin.livesearch``. Branches are pulled if buildout is called.
11
12 No directories are really removed on uninstall, this has the consequence that
13
14=== modified file 'gf/recipe/bzr/bzr.py'
15--- gf/recipe/bzr/bzr.py 2009-07-31 22:12:00 +0000
16+++ gf/recipe/bzr/bzr.py 2012-01-18 17:09:23 +0000
17@@ -202,7 +202,7 @@
18 os.chdir(self.options['root_dir'])
19
20 # Getting by calling bazaar
21- cmd = BZR + ' get --no-tree %(repo)s %(path)s' % branch
22+ cmd = BZR + ' branch --no-tree %(repo)s %(path)s' % branch
23 if branch.get('revspec') is not None:
24 cmd += ' -r%(revspec)s' % branch
25 stdout, stderr = self.execute(cmd)

Subscribers

People subscribed via source and target branches

to all changes: