~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/help_topics/en/configuration.txt

  • Committer: Vincent Ladeuil
  • Date: 2010-04-22 08:44:52 UTC
  • mto: (5176.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 5177.
  • Revision ID: v.ladeuil+lp@free.fr-20100422084452-pbumo8dq15o31yah
append_revisions_only accept all valid booleans, update doc to
warn about backward compatibility.

* bzrlib/tests/test_branch.py:
(TestBranchOptions.check_aro_is): Update warning message.
(TestBranchOptions.test_valid_append_revisions_only): More values
are accepted.
(TestBranchOptions.test_invalid_append_revisions_only): Less
values are invalid.

* bzrlib/tests/blackbox/test_init.py:
(TestSFTPInit.test_init_append_revisions_only): The default value
is now None.

* bzrlib/branch.py:
(BzrBranch8._get_append_revisions_only): Accept all valid booleans.

Show diffs side-by-side

added added

removed removed

Lines of Context:
453
453
~~~~~~~~~~~~~~~~~~~~~
454
454
 
455
455
If set to "True" then revisions can only be appended to the log, not
456
 
removed.  A branch with this setting enabled can only pull from
457
 
another branch if the other branch's log is a longer version of its
458
 
own.  This is normally set by ``bzr init --append-revisions-only``.
 
456
removed.  A branch with this setting enabled can only pull from another
 
457
branch if the other branch's log is a longer version of its own.  This is
 
458
normally set by ``bzr init --append-revisions-only``. If you set it
 
459
manually, use either 'True' or 'False' (case-sensitive) to maintain
 
460
compatibility with previous bzr versions (older than 2.2).
459
461
 
460
462
parent_location
461
463
~~~~~~~~~~~~~~~