/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/branch.py

Warn if a config variable can't be interpreted as a boolean

Show diffs side-by-side

added added

removed removed

Lines of Context:
2870
2870
        return stacked_url
2871
2871
 
2872
2872
    def _get_append_revisions_only(self):
2873
 
        value = self.get_config().get_user_option('append_revisions_only')
2874
 
        return value == 'True'
 
2873
        return self.get_config(
 
2874
            ).get_user_option_as_bool('append_revisions_only')
2875
2875
 
2876
2876
    @needs_write_lock
2877
2877
    def generate_revision_history(self, revision_id, last_rev=None,