Merge lp:~lifeless/bzr/env-variable-help into lp:bzr

Proposed by Robert Collins
Status: Merged
Approved by: Vincent Ladeuil
Approved revision: no longer in the source branch.
Merged at revision: 6566
Proposed branch: lp:~lifeless/bzr/env-variable-help
Merge into: lp:bzr
Diff against target: 28 lines (+6/-1)
2 files modified
bzrlib/help_topics/__init__.py (+2/-1)
doc/en/release-notes/bzr-2.6.txt (+4/-0)
To merge this branch: bzr merge lp:~lifeless/bzr/env-variable-help
Reviewer Review Type Date Requested Status
Vincent Ladeuil Approve
Review via email: mp+126193@code.launchpad.net

Commit message

Add reference to configuration in 'bzr help env-variables'

Description of the change

I went 'bzr help env-variables' wanting to remember the BZR_PLUGINS_AT variable, but the help there was minimal, turns out that bzr help configuration is /much/ more helpful, so I've added a cross-reference sentence.

Could look at doing more, but this is a driveby make-it-a-little-better patch.

To post a comment you must log in.
Revision history for this message
Vincent Ladeuil (vila) :
review: Approve
Revision history for this message
Vincent Ladeuil (vila) wrote :

sent to pqm by email

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'bzrlib/help_topics/__init__.py'
--- bzrlib/help_topics/__init__.py 2012-03-15 15:36:12 +0000
+++ bzrlib/help_topics/__init__.py 2012-09-25 08:36:28 +0000
@@ -620,7 +620,8 @@
620620
621def _env_variables(topic):621def _env_variables(topic):
622 import textwrap622 import textwrap
623 ret = ["Environment Variables\n\n"]623 ret = ["Environment Variables\n\n"
624 "See bzr help configuration for more details.\n\n"]
624 max_key_len = max([len(k[0]) for k in known_env_variables])625 max_key_len = max([len(k[0]) for k in known_env_variables])
625 desc_len = (80 - max_key_len - 2)626 desc_len = (80 - max_key_len - 2)
626 ret.append("=" * max_key_len + " " + "=" * desc_len + "\n")627 ret.append("=" * max_key_len + " " + "=" * desc_len + "\n")
627628
=== modified file 'doc/en/release-notes/bzr-2.6.txt'
--- doc/en/release-notes/bzr-2.6.txt 2012-09-20 08:27:39 +0000
+++ doc/en/release-notes/bzr-2.6.txt 2012-09-25 08:36:28 +0000
@@ -30,6 +30,10 @@
30Improvements30Improvements
31************31************
3232
33* ``bzr help env-variables`` now points users at ``bzr help configuration``
34 which has much more detailed information on the same stuff.
35 (Robert Collins)
36
33* ``bzr lp-find-proposal`` now only cares about the revision-id that is37* ``bzr lp-find-proposal`` now only cares about the revision-id that is
34 specified, not the branch you use. This was enabled by a new API call in38 specified, not the branch you use. This was enabled by a new API call in
35 Launchpad's web service. (Aaron Bentley)39 Launchpad's web service. (Aaron Bentley)